From 03c46cce2b62b41c5b73f86dffb90eff6a1b8eb2 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 7 Feb 2021 20:46:12 +0100 Subject: Added a dummy function call to grab the partition fstype, since unmounted filesystems won't return the fstype obviously. --- archinstall/lib/disk.py | 1 + 1 file changed, 1 insertion(+) (limited to 'archinstall') diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py index 52afffcf..5cb95226 100644 --- a/archinstall/lib/disk.py +++ b/archinstall/lib/disk.py @@ -133,6 +133,7 @@ class Partition(): self.mount(mountpoint) mount_information = get_mount_info(self.path) + actual_fstype = get_filesystem_type(self.path) # blkid -o value -s TYPE self.path if self.mountpoint != mount_information.get('target', None) and mountpoint: raise DiskError(f"{self} was given a mountpoint but the actual mountpoint differs: {mount_information.get('target', None)}") -- cgit v1.2.3-54-g00ecf