Skip to content

Commit 15576a3

Browse files
committed
verified blkid part table types
1 parent 83f4922 commit 15576a3

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

anylinuxfs/src/diskutil.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,8 @@ fn trunc_with_ellipsis(s: &str, max_len: usize) -> String {
127127

128128
fn normalize_pt_type(pt_type: &str) -> String {
129129
match pt_type {
130-
// TODO: verify the strings
131-
"gpt" | "gpt_scheme" => "GUID_partition_scheme".to_string(),
132-
"dos" | "mbr_scheme" => "FDisk_partition_scheme".to_string(),
130+
"gpt" => "GUID_partition_scheme".to_string(),
131+
"dos" => "FDisk_partition_scheme".to_string(),
133132
_ => pt_type.to_string(),
134133
}
135134
}

0 commit comments

Comments
 (0)