Function pivot_root

Source
pub fn pivot_root<P: Arg, Q: Arg>(new_root: P, put_old: Q) -> Result<()>
Available on crate features process and fs only.
Expand description

pivot_root(new_root, put_old)—Change the root mount.

§References