From 6176ac5e5d6fc52740c2af73af89db7e413d3d2f Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Mon, 14 Jun 2021 19:01:06 +0200 Subject: 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. --- archinstall/lib/disk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py index 1911110a..8424bc24 100644 --- a/archinstall/lib/disk.py +++ b/archinstall/lib/disk.py @@ -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 -- cgit v1.2.3-70-g09d2