Function nc::move_mount
source ยท pub unsafe fn move_mount<P: AsRef<Path>>(
from_dfd: i32,
from_pathname: P,
to_dfd: i32,
to_pathname: P,
flags: u32
) -> Result<i32, Errno>
Expand description
Move a mount from one place to another.
In combination with fsopen()/fsmount()
this is used to install a new mount
and in combination with open_tree(OPEN_TREE_CLONE [| AT_RECURSIVE])
it can be used to copy a mount subtree.
Note the flags value is a combination of MOVE_MOUNT_*
flags.