mount hidden msdos partitions

Pozsar Balazs pozsy at uhulinux.hu
Tue Nov 22 09:24:20 PST 2005


Hi all,

I think "hidden" msdos partitions should have the default policy to 
mount them, as these types are just used to should solve boot issues for
acient versions of MS products.

See the patch below.

-- 
pozsy

diff -Naurd a/fdi/policy/10osvendor/10-storage-policy.fdi b/fdi/policy/10osvendor/10-storage-policy.fdi
--- a/fdi/policy/10osvendor/10-storage-policy.fdi	2005-05-23 16:06:27.000000000 +0200
+++ b/fdi/policy/10osvendor/10-storage-policy.fdi	2005-10-24 20:33:30.000000000 +0200
@@ -172,6 +172,34 @@
 	    <match key="volume.partition.msdos_part_table_type" int="0x0e">
 	      <merge key="volume.policy.should_mount" type="bool">true</merge>
 	    </match>
+	    <!-- Hidden FAT12 -->
+	    <match key="volume.partition.msdos_part_table_type" int="0x11">
+	      <merge key="volume.policy.should_mount" type="bool">true</merge>
+	    </match>
+	    <!-- Hidden FAT16 <32M -->
+	    <match key="volume.partition.msdos_part_table_type" int="0x14">
+	      <merge key="volume.policy.should_mount" type="bool">true</merge>
+	    </match>
+	    <!-- Hidden FAT16 -->
+	    <match key="volume.partition.msdos_part_table_type" int="0x16">
+	      <merge key="volume.policy.should_mount" type="bool">true</merge>
+	    </match>
+	    <!-- Hidden HPFS/NTFS -->
+	    <match key="volume.partition.msdos_part_table_type" int="0x17">
+	      <merge key="volume.policy.should_mount" type="bool">true</merge>
+	    </match>
+	    <!-- Hidden W95 FAT32 -->
+	    <match key="volume.partition.msdos_part_table_type" int="0x1b">
+	      <merge key="volume.policy.should_mount" type="bool">true</merge>
+	    </match>
+	    <!-- Hidden W95 FAT32 (LBA) -->
+	    <match key="volume.partition.msdos_part_table_type" int="0x1c">
+	      <merge key="volume.policy.should_mount" type="bool">true</merge>
+	    </match>
+	    <!-- Hidden W95 FAT16 (LBA) -->
+	    <match key="volume.partition.msdos_part_table_type" int="0x1e">
+	      <merge key="volume.policy.should_mount" type="bool">true</merge>
+	    </match>
 	  </match>	  
 	</match>
       </match>


More information about the hal mailing list