Feature: #28 - Testing phase

This commit is contained in:
Anton Hvornum 2019-11-28 00:16:05 +00:00
parent 0dbd44e253
commit 8cc90ad874
1 changed files with 0 additions and 2 deletions

View File

@ -903,9 +903,7 @@ def encrypt_partition(drive, partition, keyfile='/tmp/diskpw', *positionals, **k
return True
def mkfs_btrfs(drive='/dev/mapper/luksdev', *positionals, **kwargs):
print('On drive:', drive)
o = b''.join(sys_command(f'/usr/bin/mkfs.btrfs -f {drive}'))
print(o)
if not b'UUID' in o:
return False
return True