summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <zeuthen@gmail.com>2012-07-26 14:36:46 -0400
committerDavid Zeuthen <zeuthen@gmail.com>2012-07-26 14:36:46 -0400
commit078674d1304b1191439e7dfaa59764a632166046 (patch)
tree61269506ca1337ca6c7cfa3fd4ccf8c4c8a21021
parent84c5afca3a204ba073afd5f615965e47858bd902 (diff)
Ignore non-Linux software on SanDisk Cruzer
We've been happily ignoring this because of firmware-bugs in its CD-ROM emulation but this may soon change, see https://bugs.freedesktop.org/show_bug.cgi?id=52474 In fact, newer revisions of the Cruzer (including the one Kay has) has fixes for this (making the fake CD-ROM appear on the desktop). The CD-ROM will still appear in GNOME Disks and it can be mounted that way if you really want to access these files. It just won't appear in the desktop, e.g. the file manager or file chooser until it's manually mounted. Signed-off-by: David Zeuthen <zeuthen@gmail.com>
-rw-r--r--data/80-udisks2.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/80-udisks2.rules b/data/80-udisks2.rules
index 39ed18c..430c3d5 100644
--- a/data/80-udisks2.rules
+++ b/data/80-udisks2.rules
@@ -105,6 +105,9 @@ ENV{ID_FS_TYPE}=="ntfs|vfat", \
# read-only non-Linux software installer partitions
ENV{ID_VENDOR}=="Sony", ENV{ID_MODEL}=="PRS*Launcher", ENV{UDISKS_IGNORE}="1"
+# non-Linux software
+KERNEL=="sr*", ENV{ID_VENDOR}=="SanDisk", ENV{ID_MODEL}=="Cruzer", ENV{ID_FS_LABEL}=="U3_System", ENV{UDISKS_IGNORE}="1"
+
# Content created using isohybrid (typically used on CDs and USB
# sticks for bootable media) is a bit special insofar that the
# interesting content is on a DOS partition with type 0x00 ... which