Function nix::unistd::pivot_root

source ยท
pub fn pivot_root<P1: ?Sized + NixPath, P2: ?Sized + NixPath>(
    new_root: &P1,
    put_old: &P2,
) -> Result<()>
Expand description

Change the root file system.

See Also pivot_root