[][src]Function linux::syscall::pivot_root

pub fn pivot_root(new: KStr, old: KStr) -> c_int

Moves the current root directory and sets a new one.

[argument, new] The path of the new root directory.

[argument, old] Where the old root directory will me moved to.

= See also

  • link:man:pivot_root(2)