Blame SOURCES/autofs-5.1.0-update-man-page-autofs-8-for-systemd.patch

4d476f
autofs-5.1.0 - update man page autofs(8) for systemd
4d476f
4d476f
From: Ian Kent <ikent@redhat.com>
4d476f
4d476f
Update the autofs(8) man page to account for systems using systemd.
4d476f
---
4d476f
 CHANGELOG       |    1 +
4d476f
 man/autofs.8.in |   51 +++++++++++++++++++++++++++++++++++++--------------
4d476f
 2 files changed, 38 insertions(+), 14 deletions(-)
4d476f
4d476f
--- autofs-5.0.7.orig/CHANGELOG
4d476f
+++ autofs-5.0.7/CHANGELOG
4d476f
@@ -155,6 +155,7 @@
4d476f
 - fix reset amd lexer scan buffer.
4d476f
 - ignore multiple commas in options strings.
4d476f
 - clarify multiple mounts description.
4d476f
+- update man page autofs(8) for systemd.
4d476f
 
4d476f
 25/07/2012 autofs-5.0.7
4d476f
 =======================
4d476f
--- autofs-5.0.7.orig/man/autofs.8.in
4d476f
+++ autofs-5.0.7/man/autofs.8.in
4d476f
@@ -1,23 +1,30 @@
4d476f
 .TH AUTOFS 8 "9 Sep 1997"
4d476f
 .SH NAME
4d476f
-@@initdir@@/autofs \- Control Script for automounter
4d476f
+Service control for the automounter
4d476f
 .SH SYNOPSIS
4d476f
+If a SysV init script system is being used:
4d476f
+.br
4d476f
 .B @@initdir@@/autofs
4d476f
 .I start|stop|restart|reload|status
4d476f
+.P
4d476f
+or if the systemd init system is being used:
4d476f
+.br
4d476f
+.B systemctl
4d476f
+.I start|stop|restart|reload|status
4d476f
+.B autofs.service
4d476f
 .SH "DESCRIPTION"
4d476f
 .B autofs
4d476f
 controls the operation of the
4d476f
 .BR automount (8)
4d476f
-daemons running on the Linux system. Usually
4d476f
+daemon(s) running on the Linux system. Usually
4d476f
 .B autofs
4d476f
 is invoked at system boot time with the
4d476f
 .I start
4d476f
 parameter and at shutdown time with the
4d476f
 .I stop
4d476f
-parameter. The
4d476f
-.B autofs
4d476f
-script can also be manually invoked by the system administrator to shut
4d476f
-down, restart or reload the automounters.
4d476f
+parameter. Service control actions can also be manually invoked by
4d476f
+the system administrator to shut down, restart, reload or obtain
4d476f
+service status.
4d476f
 .P
4d476f
 .SH "OPERATION"
4d476f
 .B autofs
4d476f
@@ -31,28 +38,44 @@ will mount and start a thread, with the
4d476f
 manage the mount point.
4d476f
 .P
4d476f
 .B @@initdir@@/autofs reload
4d476f
-will check the current auto.master map against running daemons. It will kill
4d476f
-those daemons whose entries have changed and then start daemons for new or  
4d476f
-changed entries.
4d476f
+or
4d476f
+.B systemctl autofs.service reload
4d476f
+will check the current auto.master map against the current automount managed
4d476f
+mounts. It will terminate those daemons or threads (depending on
4d476f
+.B autofs
4d476f
+version) whose entries have been removed, re-read the automount maps for
4d476f
+entries that have changed and start new daemons or threads for entries
4d476f
+that have been added.
4d476f
 .P
4d476f
-If a map is modified then the change will become effective immediately. If
4d476f
-the
4d476f
+If an indirect map is modified then the change will become effective immediately.
4d476f
+If an indirect map uses the
4d476f
+.B browse
4d476f
+option, the master map contains direct mount maps or the
4d476f
 .I auto.master
4d476f
 map is modified then the
4d476f
 .B autofs
4d476f
-script must be rerun to activate the changes.
4d476f
+service control reload action must be rerun to activate the changes.
4d476f
 .P
4d476f
 .B @@initdir@@/autofs status
4d476f
+or
4d476f
+.B systemctl autofs.service status
4d476f
 will display the status of,
4d476f
 .BR automount (8)
4d476f
-,running or not.
4d476f
+,running or not. When using the systemd init system the status output includes
4d476f
+somewhat more information related to the service status.
4d476f
+.P
4d476f
+.B systemctl(1)
4d476f
+has more functions than the actions mentioned here, see
4d476f
+.B systemctl(1)
4d476f
+for more information.
4d476f
 .SH "SEE ALSO"
4d476f
 .BR automount (8),
4d476f
 .BR autofs (5),
4d476f
 .BR autofs.conf (5),
4d476f
 .BR auto.master (5).
4d476f
 .BR autofs_ldap_auth.conf (5)
4d476f
+.BR systemctl(1)
4d476f
 .SH AUTHOR
4d476f
 This manual page was written by Christoph Lameter <chris@waterf.org>,
4d476f
 for the Debi GNU/Linux system.  Edited by H. Peter Anvin
4d476f
-<hpa@transmeta.com>.
4d476f
+<hpa@transmeta.com> and Ian Kent <raven@themaw.net>.