Struct fuse_backend_rs::api::vfs::Vfs [−][src]
pub struct Vfs<D> { /* fields omitted */ }
Expand description
A union fs that combines multiple backend file systems.
Implementations
Create a new vfs instance
For sake of live-upgrade, only after negotiation is done, it’s safe to persist state of vfs.
Mount a backend file system to path
Get the mounted backend file system alongside the path if there’s one.
Trait Implementations
Represents a location in the filesystem tree and can be used to perform operations that act
on the metadata of a file/directory (e.g., getattr
and setattr
). Can also be used as the
starting point for looking up paths in the filesystem tree. An Inode
may support operating
directly on the content of the path that to which it points. FileSystem
implementations
that support this should set the FsOptions::ZERO_MESSAGE_OPEN
option in the return value
of the init
function. On linux based systems, an Inode
is equivalent to opening a file
or directory with the libc::O_PATH
flag. Read more
Look up a directory entry by name and get its attributes. Read more
Get attributes for a file / directory. Read more
Set attributes for a file / directory. Read more
Create a symbolic link. Read more
Create a file node. Read more
Create a directory. Read more
Remove a file. Read more
Remove a directory. Read more
Rename a file / directory. Read more
Create a hard link. Read more
Open a file. Read more
Create and open a file. Read more
Read data from a file. Read more
Write data to a file. Read more
Flush the contents of a file. Read more
Synchronize file contents. Read more
Allocate requested space for file data. Read more
Release an open file. Read more
Get information about the file system.
Set an extended attribute. Read more
Get an extended attribute. Read more
List extended attribute names. Read more
Remove an extended attribute. Read more
Open a directory for reading. Read more
Read a directory. Read more
Read a directory with entry attributes. Read more
Synchronize the contents of a directory. Read more
Release an open directory. Read more
Check file access permissions. Read more
Forget about multiple inodes. Read more
Reposition read/write file offset.
TODO: support this