Crate fs_management

Source
Expand description

Library for filesystem management in rust.

This library is analogous to the fs-management library in zircon. It provides support for formatting, mounting, unmounting, and fsck-ing. It is implemented in a similar way to the C++ version. For components v2, add /svc/fuchsia.process.Launcher to use and add the binaries as dependencies to your component.

Modules§

filesystem
Contains the asynchronous version of [Filesystem][crate::Filesystem].
format
partition

Structs§

Blobfs
Blobfs Filesystem Configuration If fields are None or false, they will not be set in arguments.
F2fs
F2fs Filesystem Configuration If fields are None or false, they will not be set in arguments.
Fvm
FvmFilesystem Configuration
Fxfs
Fxfs Filesystem Configuration
Gpt
Gpt Configuration
Minfs
Minfs Filesystem Configuration If fields are None or false, they will not be set in arguments.
Options

Enums§

BlobCompression
Compression used for blobs in blobfs
BlobEvictionPolicy
Eviction policy used for blobs in blobfs
BlobLayout
FILESYSTEMS
ComponentType
QueryError
The error type used by the query operation of a serving filesystem.
ShutdownError
The error type used by the shutdown operation of a serving filesystem.

Constants§

BLOBFS_TYPE_GUID
DATA_TYPE_GUID
FS_COLLECTION_NAME
FVM_TYPE_GUID
FVM_TYPE_GUID_STR

Traits§

FSConfig
Describes the configuration for a particular filesystem.

Type Aliases§

CryptClientFn