Blob Blame History Raw
From 51857ca68c1f45137c27591c1b535b18a6b4ab09 Mon Sep 17 00:00:00 2001
From: Martin Pitt <martinpitt@gnome.org>
Date: Mon, 25 Mar 2013 13:58:18 +0000
Subject: Fix hiding of "WD SmartWare" partitions

These might have a _ or a space as word separator.

https://launchpad.net/bugs/732365
---
diff --git a/data/80-udisks2.rules b/data/80-udisks2.rules
index 90e4fc2..5541b4e 100644
--- a/data/80-udisks2.rules
+++ b/data/80-udisks2.rules
@@ -114,7 +114,7 @@ ENV{ID_PART_ENTRY_SCHEME}=="gpt", \
 
 # MAC recovery/tool partitions which are useless on Linux
 ENV{ID_PART_ENTRY_SCHEME}=="mac", \
-  ENV{ID_CDROM}=="?*", ENV{ID_FS_TYPE}=="udf", ENV{ID_FS_LABEL}=="WD_SmartWare", \
+  ENV{ID_CDROM}=="?*", ENV{ID_FS_TYPE}=="udf", ENV{ID_FS_LABEL}=="WD*SmartWare", \
   ENV{UDISKS_IGNORE}="1"
 
 # recovery partitions
--
cgit v0.9.0.2-2-gbebe