[Pkg-utopia-commits] r106 - packages/hal/trunk/debian
Sjoerd Simons
sjoerd@haydn.debian.org
Thu, 18 Nov 2004 14:38:17 -0700
Author: sjoerd
Date: 2004-11-18 14:37:02 -0700 (Thu, 18 Nov 2004)
New Revision: 106
Added:
packages/hal/trunk/debian/preferences.fdi
Modified:
packages/hal/trunk/debian/changelog
packages/hal/trunk/debian/hal.install
Log:
Install an example fdi to changes some system policy stuff
Modified: packages/hal/trunk/debian/changelog
===================================================================
--- packages/hal/trunk/debian/changelog 2004-11-18 21:07:52 UTC (rev 105)
+++ packages/hal/trunk/debian/changelog 2004-11-18 21:37:02 UTC (rev 106)
@@ -11,7 +11,9 @@
* debian/README. Updated to reflect we run as user hal by default now.
* debian/patches/storage-policy-debian.patch.
+ Updated. turn of sync and noatime for drivers bigger then 2GB.
-
+ * /etc/hal/fdi/preferences.fdi
+ + Added. Some examples of system settings that can be tweaked via hal's
+ database.
-- Sjoerd Simons <sjoerd@debian.org> Mon, 8 Nov 2004 23:59:23 +0100
Modified: packages/hal/trunk/debian/hal.install
===================================================================
--- packages/hal/trunk/debian/hal.install 2004-11-18 21:07:52 UTC (rev 105)
+++ packages/hal/trunk/debian/hal.install 2004-11-18 21:37:02 UTC (rev 106)
@@ -5,3 +5,4 @@
debian/tmp/usr/sbin/
debian/tmp/usr/lib/hal/
debian/tmp/usr/share/hal/fdi
+debian/preferences.fdi etc/hal/fdi
Added: packages/hal/trunk/debian/preferences.fdi
===================================================================
--- packages/hal/trunk/debian/preferences.fdi 2004-11-18 21:07:52 UTC (rev 105)
+++ packages/hal/trunk/debian/preferences.fdi 2004-11-18 21:37:02 UTC (rev 106)
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
+
+<!--
+ Some examples how to use hal fdi files for system preferences
+ You can either uncomment the exampels here or put them in a seperate fdi
+ file.
+-->
+<deviceinfo version="0.2">
+<!--
+ The following shows how to hint gnome-volume-manager and other programs
+ that honor the storage.automount_enabled_hint
+-->
+<!--
+ <device>
+ <match key="storage.hotpluggable" bool="false">
+ <match key="storage.removable" bool="false">
+ <merge key="storage.automount_enabled_hint" type="bool">false</merge>
+ </match>
+ </match>
+ </device>
+-->
+
+
+<!--
+ The following shows how to put sync and noatime on for devices smaller then 1Gb
+ and off for device lager then that. Instead of the 2Gb default
+-->
+<!--
+ <device>
+ <match key="block.is_volume" bool="true">
+ <match key="volume.size" compare_lt="1000000000">
+ <match key="@block.storage_device:storage.hotpluggable" bool="true">
+ <merge key="volume.policy.mount_option.sync" type="bool">true</merge>
+ <merge key="volume.policy.mount_option.noatime" type="bool">true</merge>
+ </match>
+ <match key="@block.storage_device:storage.removable" bool="true">
+ <merge key="volume.policy.mount_option.sync" type="bool">true</merge>
+ <merge key="volume.policy.mount_option.noatime" type="bool">true</merge>
+ </match>
+ </match>
+ <match key="volume.size" compare_ge="1000000000">
+ <match key="@block.storage_device:storage.hotpluggable" bool="true">
+ <merge key="volume.policy.mount_option.sync" type="bool">false</merge>
+ <merge key="volume.policy.mount_option.noatime" type="bool">false</merge>
+ </match>
+ <match key="@block.storage_device:storage.removable" bool="true">
+ <merge key="volume.policy.mount_option.sync" type="bool">false</merge>
+ <merge key="volume.policy.mount_option.noatime" type="bool">false</merge>
+ </match>
+ </match>
+ </match>
+ </device>
+-->
+</deviceinfo>
+