Attempting to correct some inconsitencies in disk-parent reporting.
This commit is contained in:
parent
e49b73cef4
commit
0531e3a0d6
|
|
@ -168,8 +168,8 @@ class Partition():
|
|||
if not self.filesystem and autodetect_filesystem:
|
||||
print(f'Auto-detecting filesystem for: {path}')
|
||||
print('Mount information:', mount_information.get('fstype', None))
|
||||
print('Real device:', get_filesystem_type(self.real_device))
|
||||
if (fstype := mount_information.get('fstype', get_filesystem_type(self.real_device))):
|
||||
print('Real device:', get_filesystem_type(path))
|
||||
if (fstype := mount_information.get('fstype', get_filesystem_type(path))):
|
||||
self.filesystem = fstype
|
||||
|
||||
if self.filesystem == 'crypto_LUKS':
|
||||
|
|
|
|||
Loading…
Reference in New Issue