Module mount
Available on crate feature
dep_rustix
only.Expand description
Linux mount
API.
Structs§
FSMOUNT_*
constants for use withfsmount
.FSOPEN_*
constants for use withfsopen
.FSPICK_*
constants for use withfspick
.MOUNT_ATTR_*
constants for use withfsmount
.MS_*
constants for use withmount
.MS_*
constants for use withmount_change
.MOVE_MOUNT_*
constants for use withmove_mount
.OPENTREE_*
constants for use withopen_tree
.MNT_*
constants for use withunmount
.
Functions§
fsconfig(fs_fd, FSCONFIG_CMD_CREATE, key, NULL, 0)
fsconfig(fs_fd, FSCONFIG_CMD_RECONFIGURE, key, NULL, 0)
fsconfig(fs_fd, FSCONFIG_SET_BINARY, key, value, value.len())
fsconfig(fs_fd, FSCONFIG_SET_FD, key, NULL, fd)
fsconfig(fs_fd, FSCONFIG_SET_FLAG, key, NULL, 0)
fsconfig(fs_fd, FSCONFIG_SET_PATH, key, path, fd)
fsconfig(fs_fd, FSCONFIG_SET_PATH_EMPTY, key, "", fd)
fsconfig(fs_fd, FSCONFIG_SET_STRING, key, value, 0)
fsmount(fs_fd, flags, attr_flags)
fsopen(fs_name, flags)
fspick(dfd, path, flags)
mount(source, target, filesystemtype, mountflags, data)
mount2(source, target, filesystemtype, mountflags, data)
mount(source, target, NULL, MS_BIND, NULL)
mount(NULL, target, NULL, mountflags, NULL)
mount(source, target, NULL, MS_MOVE, NULL)
mount(source, target, NULL, MS_BIND | MS_REC, NULL)
mount(NULL, target, NULL, MS_REMOUNT | mountflags, data)
move_mount(from_dfd, from_pathname, to_dfd, to_pathname, flags)
open_tree(dfd, filename, flags)
umount2(target, flags)