Searched refs:PartitionType (Results 1 – 4 of 4) sorted by relevance
/DADK/dadk-config/src/rootfs/ |
H A D | partition.rs | 6 pub partition_type: PartitionType, 10 pub enum PartitionType { enum 28 self.partition_type != PartitionType::None in should_create_partitioned_image() 38 (r#"type = "none""#, PartitionType::None), in test_parse_partition_type() 39 (r#"type = "mbr""#, PartitionType::Mbr), in test_parse_partition_type() 40 (r#"type = "gpt""#, PartitionType::Gpt), in test_parse_partition_type()
|
H A D | partition.rs | 6 pub partition_type: PartitionType, 10 pub enum PartitionType { enum 28 self.partition_type != PartitionType::None in image_should_be_partitioned() 38 (r#"type = "none""#, PartitionType::None), in test_parse_partition_type() 39 (r#"type = "mbr""#, PartitionType::Mbr), in test_parse_partition_type() 40 (r#"type = "gpt""#, PartitionType::Gpt), in test_parse_partition_type()
|
/DADK/dadk-config/tests/ |
H A D | test_rootfs_config.rs | 3 rootfs::{partition::PartitionType, RootFSConfigFile}, 21 assert_eq!(manifest.partition.partition_type, PartitionType::None); in test_load_rootfs_manifest_template()
|
/DADK/dadk/src/actions/rootfs/ |
H A D | disk_img.rs | 5 use dadk_config::rootfs::{fstype::FsType, partition::PartitionType}; 277 fn create_partitioned_image(disk_image_path: &PathBuf, part_type: PartitionType) -> Result<()> { in create_partitioned_image() 279 PartitionType::None => { in create_partitioned_image() 283 PartitionType::Mbr => { in create_partitioned_image() 287 PartitionType::Gpt => { in create_partitioned_image()
|