Enum block_utils::Filesystem
[−]
[src]
pub enum Filesystem { Btrfs { metadata_profile: MetadataProfile, leaf_size: u64, node_size: u64, }, Ext4 { inode_size: u64, reserved_blocks_percentage: u8, }, Xfs { inode_size: Option<u64>, force: bool, }, }
This allows you to tweak some settings when you're formatting the filesystem
Variants
Btrfs
Fields of Btrfs
metadata_profile: MetadataProfile | |
leaf_size: u64 | |
node_size: u64 |
Ext4
Fields of Ext4
inode_size: u64 | |
reserved_blocks_percentage: u8 |
Xfs
Fields of Xfs
inode_size: Option<u64> | This is optional. Boost knobs are on by default: http://xfs.org/index.php/XFS_FAQ#Q:_I_want_to_tune_my_XFS_filesystems_for_.3Csomething.3E |
force: bool |
Methods
impl Filesystem
[src]
fn new(name: &str) -> Filesystem
Create a new Filesystem with defaults.