[][src]Function nc::move_mount

pub fn move_mount(
    from_dfd: i32,
    from_pathname: &str,
    to_dfd: i32,
    to_pathname: &str,
    flags: u32
) -> Result<i32, Errno>

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.