Module mount

Available on crate feature dep_rustix only.
Expand description

Linux mount API.

Structs§

FsMountFlags
FSMOUNT_* constants for use with fsmount.
FsOpenFlags
FSOPEN_* constants for use with fsopen.
FsPickFlags
FSPICK_* constants for use with fspick.
MountAttrFlags
MOUNT_ATTR_* constants for use with fsmount.
MountFlags
MS_* constants for use with mount.
MountPropagationFlags
MS_* constants for use with mount_change.
MoveMountFlags
MOVE_MOUNT_* constants for use with move_mount.
OpenTreeFlags
OPENTREE_* constants for use with open_tree.
UnmountFlags
MNT_* constants for use with unmount.

Functions§

fsconfig_create
fsconfig(fs_fd, FSCONFIG_CMD_CREATE, 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)
mount2
mount2(source, target, filesystemtype, mountflags, data)
mount_bind
mount(source, target, NULL, MS_BIND, NULL)
mount_change
mount(NULL, target, NULL, mountflags, NULL)
mount_move
mount(source, target, NULL, MS_MOVE, NULL)
mount_recursive_bind
mount(source, target, NULL, MS_BIND | MS_REC, 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)