Function lrs::syscall::mount

Mounts a filesystem.

Syntax

fn mount(src: &CStr, dst: &CStr, ty: &CStr, flags: u64, data: &CStr) -> i32

Arguments

NameDescription
src

The filesystem to mount.

dst

Where to mount it.

ty

The type of the filesystem.

flags

Flags used when mounting the filesystem.

data

Filesystem dependent data.

Return value

Returns success or an error value.

See also