From 45fbe253ea72cb7d43d84397c3383a561655f67d Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Sat, 14 Jul 2012 14:06:22 -0400 Subject: [PATCH] Ignore "Apple Boot" GPT partitions My USB disk set up for FileVault on Lion, has one of these. It's not useful to display in the user interface. Signed-off-by: David Zeuthen --- data/80-udisks2.rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/80-udisks2.rules b/data/80-udisks2.rules index 449287c..39ed18c 100644 --- a/data/80-udisks2.rules +++ b/data/80-udisks2.rules @@ -77,6 +77,9 @@ SUBSYSTEMS=="usb", ENV{ID_VENDOR}=="HP", ENV{ID_MODEL}=="*v125w*", ENV{ID_DRIVE_ # Apple Bootstrap partitions ENV{ID_PART_ENTRY_SCHEME}=="mac", ENV{ID_PART_ENTRY_TYPE}=="Apple_Bootstrap", ENV{UDISKS_IGNORE}="1" +# Apple Boot partitions +ENV{ID_PART_ENTRY_SCHEME}=="gpt", ENV{ID_PART_ENTRY_TYPE}=="426f6f74-0000-11aa-aa11-00306543ecac", ENV{UDISKS_IGNORE}="1" + # special DOS partition types (EFI, hidden, etc.) and RAID/LVM # see http://www.win.tue.nl/~aeb/partitions/partition_types-1.html ENV{ID_PART_ENTRY_SCHEME}=="dos", \ -- 2.7.4