hal/tools fstab-sync.8.in,1.2,1.3
David Zeuthen
david at freedesktop.org
Mon May 23 07:06:29 PDT 2005
Update of /cvs/hal/hal/tools
In directory gabe:/tmp/cvs-serv8049/tools
Modified Files:
fstab-sync.8.in
Log Message:
2005-05-23 David Zeuthen <davidz at redhat.com>
* fdi/policy/10osvendor/10-storage-policy.fdi: Never ever use
sync as it reduces performance and makes people believe that
it wears out their drives (RH bug #157674)
* examples/locking.py: Fixup this a little bit
* tools/fstab-sync.8.in: Update the man page to reflect latest
changes.
* hald/hald_dbus.c (device_lock): Fix a doublefree when acquiring
lock (RH bug #158474)
Index: fstab-sync.8.in
===================================================================
RCS file: /cvs/hal/hal/tools/fstab-sync.8.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- fstab-sync.8.in 19 Oct 2004 00:42:29 -0000 1.2
+++ fstab-sync.8.in 23 May 2005 14:06:27 -0000 1.3
@@ -20,9 +20,7 @@
and create/remove mount points in
.B /media
in response to HAL events. This program is usually never run directly
-from a shell; instead it is invoked as a callout from the
-.B @SYSCONFDIR@/hal/device.d
-directory by the HAL daemon.
+from a shell; instead it is invoked as a callout by the HAL daemon.
.PP
Additionally, this program offers an option of removing any trace of
@@ -84,27 +82,13 @@
.PP
By default, the
-.B @DATADIR@/hal/fdi/90defaultpolicy/storage-policy.fdi
+.B @DATADIR@/hal/fdi/policy/10osvendor/10-storage-policy.fdi
file specifies the policy - this file should never be edited by the
system administrator as it might get updated by the OS vendor for security
updates. Instead, system- or site-specific rules can be put in
the
-.B @DATADIR@/hal/fdi/95userpolicy
-directory.
-
-Device information files are processed for every hal device object in the
-.B @DATADIR@/hal/fdi/
-directory in alphabetical order including directories. Hence, files in the
-.B 90defaultpolicy
-directory are processed before files
-.B 95userpolicy
-directory,
-.B 95userpolicy/a.fdi
-is processed before
-.B 95userpolicy/b.fdi
-and so on. In addition, directives in specific files are processed in a
-top-down fashion.
-
+.B @SYSCONFDIR@/hal/fdi/policy/
+directory as separate files.
.PP
A number of sample policy files for various uses should
@@ -125,13 +109,11 @@
.B /etc/fstab
file by the
.B fstab-sync
-program from the HAL daemon can be disabled by changing the
-.B 50-fstab-sync.hal
-symlink in
-.B @SYSCONFDIR@/hal/device.d
-directory to point to
-.B /bin/false
-.
+program from the HAL daemon can be disabled by making the
+.B /etc/fstab
+file immutable (using
+.B chattr +i /etc/fstab
+for example)
.SH OPTIONS
The following options are supported:
More information about the hal-commit
mailing list