Module lrs::fs

Filesystem information and mounting.

Sub-modules

NameDescription
flags

Mount and unmount flags.

types

Filesystem types.

Types

KindNameDescription
Struct FileSystem

A filesystem type.

Struct FileSystemInfo

Filesystem information.

Struct Flags

Mount flags of a filesystem.

Struct MountFlags

Flags used when mounting a filesystem.

Struct UnmountFlags

Flags used for unmounting.

Functions

NameDescription
mount

Mounts a filesystem.

move_root

Moves the current root directory and sets a new one.

set_root

Changes the root directory of the process.

sync_all

Writes all buffered data and metadata to the disks.

unmount

Unmounts a filesystem.