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

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