Available on crate feature
mount only.Expand description
Linux mount API.
Structs§
- FsMount
Flags FSMOUNT_*constants for use withfsmount.- FsOpen
Flags FSOPEN_*constants for use withfsopen.- FsPick
Flags FSPICK_*constants for use withfspick.- Mount
Attr Flags MOUNT_ATTR_*constants for use withfsmount.- Mount
Flags MS_*constants for use withmount.- Mount
Propagation Flags MS_*constants for use withmount_change.- Move
Mount Flags MOVE_MOUNT_*constants for use withmove_mount.- Open
Tree Flags OPENTREE_*constants for use withopen_tree.- Unmount
Flags MNT_*constants for use withunmount.
Functions§
- fsconfig_
create fsconfig(fs_fd, FSCONFIG_CMD_CREATE, key, NULL, 0)- fsconfig_
create_ exclusive fsconfig(fs_fd, FSCONFIG_CMD_CREATE_EXCL, key, NULL, 0)- fsconfig_
reconfigure fsconfig(fs_fd, FSCONFIG_CMD_RECONFIGURE, key, NULL, 0)- fsconfig_
set_ binary fsconfig(fs_fd, FSCONFIG_SET_BINARY, key, value, value.len())- fsconfig_
set_ fd fsconfig(fs_fd, FSCONFIG_SET_FD, key, NULL, fd)- fsconfig_
set_ flag fsconfig(fs_fd, FSCONFIG_SET_FLAG, key, NULL, 0)- fsconfig_
set_ path fsconfig(fs_fd, FSCONFIG_SET_PATH, key, path, fd)- fsconfig_
set_ path_ empty fsconfig(fs_fd, FSCONFIG_SET_PATH_EMPTY, key, "", fd)- fsconfig_
set_ string fsconfig(fs_fd, FSCONFIG_SET_STRING, key, value, 0)- fsmount
fsmount(fs_fd, flags, attr_flags)- fsopen
fsopen(fs_name, flags)- fspick
fspick(dfd, path, flags)- mount
mount(source, target, filesystemtype, mountflags, data)- mount_
bind mount(source, target, NULL, MS_BIND, NULL)- mount_
bind_ recursive mount(source, target, NULL, MS_BIND | MS_REC, NULL)- mount_
change mount(NULL, target, NULL, mountflags, NULL)- mount_
move mount(source, target, NULL, MS_MOVE, NULL)- mount_
remount mount(NULL, target, NULL, MS_REMOUNT | mountflags, data)- move_
mount move_mount(from_dfd, from_pathname, to_dfd, to_pathname, flags)- open_
tree open_tree(dfd, filename, flags)- unmount
umount2(target, flags)