[Libguestfs] [PATCH 4/7] daemon: Ignore BitLocker disks in list-filesystems API.

Richard W.M. Jones rjones at redhat.com
Mon Mar 30 15:03:39 UTC 2020


---
 daemon/listfs.ml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/daemon/listfs.ml b/daemon/listfs.ml
index 3b71471ae..a4c917d12 100644
--- a/daemon/listfs.ml
+++ b/daemon/listfs.ml
@@ -141,8 +141,8 @@ and check_with_vfs_type ret device =
   else if String.is_suffix vfs_type "_member" then
     ()
 
-  (* Ignore LUKS-encrypted partitions.  These are also containers, as above. *)
-  else if vfs_type = "crypto_LUKS" then
+  (* Ignore encrypted partitions.  These are also containers, as above. *)
+  else if vfs_type = "crypto_LUKS" || vfs_type = "BitLocker" then
     ()
 
   (* A single btrfs device can turn into many volumes. *)
-- 
2.25.0




More information about the Libguestfs mailing list