Skip to content

fuse_file_info, File Handle, and open() #6

@Trendyne

Description

@Trendyne

libfuse provides a fh field in the fuse_file_info struct which is passed to most functions
https://libfuse.github.io/doxygen/structfuse__file__info.html#a45314d0b92a8d4c9de33d996aa59ada8

File handle id. May be filled in by filesystem in create, open, and opendir(). Available in most other file operations on the same file handle.

These are needed if you want to keep data consistent across chunked read()s or write()s where the data might be non-static for the path.
Adding overloads that provide at least the fh and an open() method in the Operations interface, as well as a close() for cleanup, would allow a wider range of applications than just static content per path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions