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:
Anton Hvornum 2021-06-14 19:01:06 +02:00
parent 2ac1f453cf
commit 6176ac5e5d
1 changed files with 1 additions and 1 deletions

View File

@ -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