[Pkg-utopia-commits] r210 - packages/hal/trunk/debian

Sjoerd Simons sjoerd@costa.debian.org
Mon, 23 May 2005 17:53:46 +0000


Author: sjoerd
Date: 2005-05-23 17:53:45 +0000 (Mon, 23 May 2005)
New Revision: 210

Modified:
   packages/hal/trunk/debian/changelog
   packages/hal/trunk/debian/preferences.fdi
Log:
Ensure there isn't too much media wear, by disabling the sync option

Modified: packages/hal/trunk/debian/changelog
===================================================================
--- packages/hal/trunk/debian/changelog	2005-05-23 17:49:33 UTC (rev 209)
+++ packages/hal/trunk/debian/changelog	2005-05-23 17:53:45 UTC (rev 210)
@@ -9,8 +9,14 @@
     + Updated to work with dbs-edit-patch
   * debian/hal.udev.device-removable.sh
     + Fixed problem with detection of firewire disks (Closes: #309822)
+  * debian/patches/storage-policy-debian.patch
+    Don't set the sync mount option by default on smaller drives (flash
+    drives). Especially on newer kernels this can wear out media too fast. 
+  * debian/preferences.fdi 
+    Warn for media wear in the example fdi file when enabling the sync option.
+ 
 
- -- Sjoerd Simons <sjoerd@debian.org>  Mon, 23 May 2005 19:33:59 +0200
+ -- Sjoerd Simons <sjoerd@debian.org>  Mon, 23 May 2005 19:49:56 +0200
 
 hal (0.4.7-4) unstable; urgency=low
 

Modified: packages/hal/trunk/debian/preferences.fdi
===================================================================
--- packages/hal/trunk/debian/preferences.fdi	2005-05-23 17:49:33 UTC (rev 209)
+++ packages/hal/trunk/debian/preferences.fdi	2005-05-23 17:53:45 UTC (rev 210)
@@ -23,8 +23,12 @@
 
 
 <!-- 
-  The following shows how to put sync and noatime on for devices smaller then 
-  1Gb and off for device larger then that.  Instead of the 2Gb default --> 
+  The following shows how to put sync and noatime on for devices smaller then
+  1Gb and off for device larger then that. Note that the sync option can wear
+  out device faster then you'd like too. See
+  http://readlist.com/lists/vger.kernel.org/linux-kernel/22/111748.html for
+  more info.
+--> 
 <!--
   <device> 
     <match key="block.is_volume" bool="true">
@@ -51,18 +55,5 @@
     </match>
   </device>
 --> 
-<!-- 
-  The following shows how to set the permissions of a mounted filesystem to
-  group id diskusers and umask 0x0770. Note that one should add some rules to
-  match on more than the device being a volume
---> 
-<!--
-  <device>
-    <match key="block.is_volume" bool="true">
-       <merge key="volume.policy.mount_option.gid" type="string">diskusers</merge>
-       <merge key="volume.policy.mount_option.umask" type="string">0770</merge>
-    </match>
-  </device>
--->
 </deviceinfo>