pub mod filenames {
pub const CONTAINER_DISK: &str = "disk.qcow2";
pub const GUEST_ROOTFS_DISK: &str = "guest-rootfs.qcow2";
}
pub mod dirs {
#[allow(dead_code)] pub const SNAPSHOTS_DIR: &str = "snapshots";
}
pub mod qcow2 {
pub const DEFAULT_DISK_SIZE_GB: u64 = 10;
pub const CLUSTER_BITS: usize = 16;
pub const REFCOUNT_ORDER: u8 = 4;
pub const BLOCK_SIZE: usize = 512;
}
pub mod ext4 {
pub const BLOCK_SIZE: u64 = 4096;
pub const INODE_SIZE: u64 = 256;
pub const SIZE_MULTIPLIER_NUM: u64 = 11;
pub const SIZE_MULTIPLIER_DEN: u64 = 10;
pub const JOURNAL_OVERHEAD_BYTES: u64 = 64 * 1024 * 1024;
pub const MIN_DISK_SIZE_BYTES: u64 = 256 * 1024 * 1024;
pub const DEFAULT_DIR_SIZE_BYTES: u64 = 64 * 1024 * 1024;
}