Since all fs-type's appear to be lower-case in 'man parted', we'll check against a lowered list in general for supported fs-types.
This commit is contained in:
parent
2ac1f453cf
commit
6176ac5e5d
|
|
@ -25,7 +25,7 @@ def valid_fs_type(fstype :str) -> bool:
|
|||
erfs", "udf", or "xfs".
|
||||
"""
|
||||
|
||||
return fstype in [
|
||||
return fstype.lower() in [
|
||||
"btrfs",
|
||||
"ext2",
|
||||
"ext3", "ext4", # `man parted` allows these
|
||||
|
|
|
|||
Loading…
Reference in New Issue