Function nix::unistd::pivot_root

source ·
pub fn pivot_root<P1: ?Sized + NixPath, P2: ?Sized + NixPath>(
    new_root: &P1,
    put_old: &P2
) -> Result<()>
Available on crate feature fs only.
Expand description

Change the root file system.

See Also pivot_root