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
BtrfsFields of Btrfs
metadata_profile: MetadataProfile | |
leaf_size: u64 | |
node_size: u64 |
Ext4Fields of Ext4
inode_size: u64 | |
reserved_blocks_percentage: u8 |
XfsFields 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.