From: David Zeuthen Date: Thu, 3 May 2012 13:46:43 +0000 (-0400) Subject: Add work-around to show FS on CDs/USB sticks created using isohybrid X-Git-Tag: upstream/2.1.2~250 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6512ec74025a0fec96a58ab330d891e3004b5826;p=platform%2Fupstream%2Fudisks2.git 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 --- 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"