Skip to content

Allow access to the inode/parent id #17

@dweidenfeld

Description

@dweidenfeld

I am planning to implement a filesystem, that has a tag based folder structure.

So e.g. a folder has the id 001 and another folder has the id 002.
In folder 001 is a file 011 and 021 etc.

If I want to resolve all folders/files in folder 001 I need to be able to execute a request like:
SELECT * FROM objects WHERE parent_id = '001'

So I need the information of the parent id / object in the readdir method. Would it be possible to give access to the parents inode or store some custom id's, so that I know what the requested object actually is?

regards,
Dominik

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions