Function lrs::fs::move_root

Moves the current root directory and sets a new one.

Syntax

fn move_root<P, Q>(new_root: P, put_old: Q) -> Result<(), Errno>
    where Q: ToCString,
          P: ToCString,

Arguments

NameDescription
new_root

The path of the new root directory.

put_old

Where the old root directory will me moved to.

See also