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

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