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

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