hal/fdi/90defaultpolicy storage-policy.fdi,1.7,1.8

David Zeuthen david at freedesktop.org
Tue Oct 26 12:44:55 PDT 2004


Update of /cvs/hal/hal/fdi/90defaultpolicy
In directory gabe:/tmp/cvs-serv27225/fdi/90defaultpolicy

Modified Files:
	storage-policy.fdi 
Log Message:
2004-10-26  David Zeuthen  <davidz at redhat.com>

	* fdi/90defaultpolicy/storage-policy.fdi: Change default policy
	such that non-hotpluggable fixed disks are not added to the
	/etc/fstab file because a) ATARAID detection in hal is
	incomplete (e.g. RAID members from ATARAID controllers might be
	added to /etc/fstab); and b) default install wont corrupt
	multiboot systems on fixed drives (RH bug 137072)



Index: storage-policy.fdi
===================================================================
RCS file: /cvs/hal/hal/fdi/90defaultpolicy/storage-policy.fdi,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- storage-policy.fdi	25 Oct 2004 16:32:10 -0000	1.7
+++ storage-policy.fdi	26 Oct 2004 19:44:53 -0000	1.8
@@ -171,12 +171,22 @@
 	    <match key="volume.partition.msdos_part_table_type" int="0x0e">
 	      <merge key="volume.policy.should_mount" type="bool">true</merge>
 	    </match>
-	  </match>
-
-	  
+	  </match>	  
 	</match>
       </match>
     </match>
+    
+  </device>
+
+  <!-- Dont want to mount non-hotpluggable fixed disks since ideraid
+       detection isnt complete as hald wrongly detects e.g. partitions
+       from some IDE RAID controllers -->
+  <device>
+    <match key="storage.hotpluggable" bool="false">
+      <match key="storage.removable" bool="false">
+	<merge key="storage.policy.should_mount" type="bool">false</merge>
+      </match>
+    </match>
   </device>
 
 </deviceinfo>




More information about the hal-commit mailing list