Struct fs_management::Minfs
source · pub struct Minfs {
pub verbose: bool,
pub fvm_data_slices: u32,
pub readonly: bool,
pub fsck_after_every_transaction: bool,
pub component_type: ComponentType,
}
Expand description
Minfs Filesystem Configuration If fields are None or false, they will not be set in arguments.
Fields§
§verbose: bool
§fvm_data_slices: u32
§readonly: bool
§fsck_after_every_transaction: bool
§component_type: ComponentType
Implementations§
source§impl Minfs
impl Minfs
sourcepub fn new(block_device: ControllerProxy) -> Filesystem
pub fn new(block_device: ControllerProxy) -> Filesystem
Manages a block device using the default configuration.
sourcepub fn dynamic_child() -> Self
pub fn dynamic_child() -> Self
Launch minfs, with the default configuration, as a dynamic child in the fs-collection.
Trait Implementations§
source§impl FSConfig for Minfs
impl FSConfig for Minfs
fn disk_format(&self) -> DiskFormat
source§fn crypt_client(&self) -> Option<Channel>
fn crypt_client(&self) -> Option<Channel>
Returns a handle for the crypt service (if any).
source§fn is_multi_volume(&self) -> bool
fn is_multi_volume(&self) -> bool
Whether the filesystem supports multiple volumes.