Struct fs_management::Blobfs
source · pub struct Blobfs {
pub verbose: bool,
pub deprecated_padded_blobfs_format: bool,
pub num_inodes: u64,
pub readonly: bool,
pub write_compression_algorithm: Option<BlobCompression>,
pub write_compression_level: Option<i32>,
pub cache_eviction_policy_override: Option<BlobEvictionPolicy>,
pub component_type: ComponentType,
}
Expand description
Blobfs Filesystem Configuration If fields are None or false, they will not be set in arguments.
Fields§
§verbose: bool
§deprecated_padded_blobfs_format: bool
§num_inodes: u64
§readonly: bool
§write_compression_algorithm: Option<BlobCompression>
§write_compression_level: Option<i32>
§cache_eviction_policy_override: Option<BlobEvictionPolicy>
§component_type: ComponentType
Implementations§
source§impl Blobfs
impl Blobfs
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 blobfs, with the default configuration, as a dynamic child in the fs-collection.
Trait Implementations§
source§impl FSConfig for Blobfs
impl FSConfig for Blobfs
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.