Moves the current root directory and sets a new one.
fn move_root<P, Q>(new_root: P, put_old: Q) -> Result<(), Errno>
where Q: ToCString,
P: ToCString,| Name | Description |
|---|---|
| new_root | The path of the new root directory. |
| put_old | Where the old root directory will me moved to. |