35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
From 6512ec74025a0fec96a58ab330d891e3004b5826 Mon Sep 17 00:00:00 2001
|
|
From: David Zeuthen <davidz@redhat.com>
|
|
Date: Thu, 3 May 2012 09:46:43 -0400
|
|
Subject: [PATCH] Add work-around to show FS on CDs/USB sticks created using
|
|
isohybrid
|
|
|
|
This happens at least in two cases - when using loop-devices with
|
|
LO_PARTSCAN and when dd(1)'ing the image to a USB stick.
|
|
|
|
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
|
---
|
|
data/80-udisks2.rules | 9 +++++++++
|
|
1 file changed, 9 insertions(+)
|
|
|
|
diff --git a/data/80-udisks2.rules b/data/80-udisks2.rules
|
|
index f1fe9bc..f6a3e47 100644
|
|
--- a/data/80-udisks2.rules
|
|
+++ b/data/80-udisks2.rules
|
|
@@ -96,3 +96,12 @@ 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"
|
|
+
|
|
+# 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
|
|
+# is hidden above. So undo this.
|
|
+#
|
|
+# See http://mjg59.dreamwidth.org/11285.html for more details
|
|
+#
|
|
+ENV{ID_PART_TABLE_TYPE}=="dos", ENV{ID_PART_ENTRY_TYPE}=="0x0", ENV{ID_FS_TYPE}=="iso9660", ENV{UDISKS_IGNORE}="0"
|
|
--
|
|
1.7.10
|
|
|