daemon: Ignore BitLocker disks in list-filesystems API.

This commit is contained in:
Richard W.M. Jones
2020-03-30 14:38:27 +01:00
parent 6e870a8e43
commit 41cbc89330

View File

@@ -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. *)