Added some debugging.
This commit is contained in:
parent
3bf8ba0819
commit
747d620596
|
|
@ -189,8 +189,10 @@ class Partition():
|
|||
raise DiskError(f'Could not find appropriate parent for encrypted partition {self}')
|
||||
|
||||
def detect_inner_filesystem(self, password):
|
||||
log(f'Trying to detect inner filesystem format on {self} (This might take a while)', level=LOG_LEVELS.Info)
|
||||
from .luks import luks2
|
||||
with luks2(self, 'luksloop', password, auto_unmount=True) as unlocked_device:
|
||||
print('Found:', unlocked_device.filesystem)
|
||||
return unlocked_device.filesystem
|
||||
|
||||
def has_content(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue