Expand description
Linux >=5.2 file system mount API.
This crate provides access to the kernel’s new mount API.
Modules§
- fs
- File system instances.
- ns
- Mount namespace related code.
- superblock
- Superblock instances creates from file systems via
Fs::create. - sys
- Constants for the fsmount API.
Structs§
- Fs
- Represents a handle to a file system.
- FsMount
- Mount flags for
Superblock::mount. - FsOpen
- Flags for
Fs::open. - FsPick
- Flags for
Superblock::fspick. - List
Mounts - An iterator over the mount IDs inside a mount namespace.
- Mount
- Handle to a mount point. Used to move or bind mount points or change their attributes.
- Mount
Attr - Mount attributes for
Superblock::mountor Mount::setattr. - MountId
- A unique mount ID as used in
statmount(2),listmount(2)orstatx(2). - Mount
NsId - The mount namespace ID.
- Mount
SetAttr - The
struct mount_attr - Move
Mount - Flags for handling the “from” and “to” parts of a
move_mountoperation. - Open
Tree - Flags for the
open_treefunction. - Reused
Mount Id - Reused mount IDs are the ones used in
/proc/*/mountinfo. - Stat
Mount - A buffer used for and result of a
statmount(2)call. - Stat
Mount Builder - A builder for a
statmount(2)call. - Superblock
- Handle to a file system superblock.