SOURCES: hal-pld_policy.patch - don't try to poweroff a pendrive w...

freetz freetz at pld-linux.org
Sat Jan 7 02:51:20 CET 2006


Author: freetz                       Date: Sat Jan  7 01:51:20 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't try to poweroff a pendrive with eject, it works only in ubuntu ;>
  (can't be properly unmounted this way!)

---- Files affected:
SOURCES:
   hal-pld_policy.patch (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SOURCES/hal-pld_policy.patch
diff -u SOURCES/hal-pld_policy.patch:1.7 SOURCES/hal-pld_policy.patch:1.8
--- SOURCES/hal-pld_policy.patch:1.7	Sat Sep 17 18:01:58 2005
+++ SOURCES/hal-pld_policy.patch	Sat Jan  7 02:51:14 2006
@@ -84,18 +84,3 @@
  	  <!-- Should never mount Apple Bootstrap partitions (it would be
  	       a security hole) - should use the bootable flag from the
  	       Mac partition table instead -->
-@@ -195,5 +197,14 @@
-       <append key="info.addons" type="strlist">hald-addon-storage</append>
-     </match>
-   </device>
-+
-+  <!-- Always eject USB storage devices to properly power them off -->
-+  <device>
-+    <match key="info.category" string="storage">
-+      <match key="storage.bus" string="usb">
-+        <merge key="storage.requires_eject" type="bool">true</merge>
-+      </match>
-+    </match>
-+  </device>
-   
- </deviceinfo>
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/hal-pld_policy.patch?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list