From aff99307d9540d3225cb867c251d6724ccaef9bb Mon Sep 17 00:00:00 2001 From: Mike Fleetwood Date: Fri, 18 May 2018 11:32:23 +0100 Subject: [PATCH] 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 --- src/GParted_Core.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc index 3b7c0116..b92d1a3d 100644 --- a/src/GParted_Core.cc +++ b/src/GParted_Core.cc @@ -1463,6 +1463,8 @@ FSType GParted_Core::detect_filesystem( PedDevice * lp_device, PedPartition * lp return GParted::FS_UDF; else if ( fsname == "ufs" ) return GParted::FS_UFS ; + else if ( fsname == "BitLocker" ) + return FS_BITLOCKER; else if ( fsname == "iso9660" ) return FS_ISO9660; else if ( fsname == "linux_raid_member" )