Recognise blkid identified BitLocker encrypted partitions (#795127)

Future util-linux release after v2.32 will include this commit for blkid
to recognise BitLocker encrypted partitions.  It is much better than
GParted's inbuilt detection.

    https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=136f89ce5ed8cd159a1c56b5a775dada2363ecd3
    libblkid: add BitLocker detection

Make GParted also recognise BitLocker encrypted partitions reported by
blkid.

Bug #795127 - Displayed Name is incorrect for bitlocker encrypted
              partitions
This commit is contained in:
Mike Fleetwood 2018-05-18 11:32:23 +01:00 committed by Curtis Gedak
parent 0c10544fe8
commit aff99307d9
1 changed files with 2 additions and 0 deletions

View File

@ -1463,6 +1463,8 @@ FSType GParted_Core::detect_filesystem( PedDevice * lp_device, PedPartition * lp
return GParted::FS_UDF; return GParted::FS_UDF;
else if ( fsname == "ufs" ) else if ( fsname == "ufs" )
return GParted::FS_UFS ; return GParted::FS_UFS ;
else if ( fsname == "BitLocker" )
return FS_BITLOCKER;
else if ( fsname == "iso9660" ) else if ( fsname == "iso9660" )
return FS_ISO9660; return FS_ISO9660;
else if ( fsname == "linux_raid_member" ) else if ( fsname == "linux_raid_member" )