pub fn pivot_root<P1: ?Sized + NixPath, P2: ?Sized + NixPath>( new_root: &P1, put_old: &P2, ) -> Result<()>
Change the root file system.
See Also pivot_root
pivot_root