aboutsummaryrefslogtreecommitdiff
path: root/amq/amq.8
diff options
context:
space:
mode:
Diffstat (limited to 'amq/amq.8')
-rw-r--r--amq/amq.845
1 files changed, 31 insertions, 14 deletions
diff --git a/amq/amq.8 b/amq/amq.8
index 203a52938014..feff75433ea0 100644
--- a/amq/amq.8
+++ b/amq/amq.8
@@ -1,5 +1,5 @@
.\"
-.\" Copyright (c) 1997-2006 Erez Zadok
+.\" Copyright (c) 1997-2014 Erez Zadok
.\" Copyright (c) 1990 Jan-Simon Pendry
.\" Copyright (c) 1990 Imperial College of Science, Technology & Medicine
.\" Copyright (c) 1990 The Regents of the University of California.
@@ -16,11 +16,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\" must display the following acknowledgment:
-.\" This product includes software developed by the University of
-.\" California, Berkeley and its contributors.
-.\" 4. Neither the name of the University nor the names of its contributors
+.\" 3. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\"
@@ -36,17 +32,16 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" %W% (Berkeley) %G%
.\"
-.\" $Id: amq.8,v 1.15.2.1 2006/01/02 18:48:24 ezk Exp $
+.\" File: am-utils/amq/amq.8
.\"
-.TH AMQ 8 "25 April 1989"
+.TH AMQ 8 "15 September 2011"
.SH NAME
amq \- automounter query tool
.SH SYNOPSIS
.B amq
[
-.BI \-fmpsvwHTU
+.BI \-fimpqsvwHTU
] [
.BI \-h " hostname"
] [
@@ -94,6 +89,10 @@ cluster, the root server is queried by default, since that is the system on
which the automounter is normally run.
.TP
+.BI \-i
+Print information about the mount maps.
+
+.TP
.BI \-l " log_file"
Tell amd to use
.I log_file
@@ -117,6 +116,13 @@ search through the process table. This option is used in the
script.
.TP
+.B \-q
+Suppress error messages produced when attempting synchronous unmounts
+with the
+.B \-u
+option.
+
+.TP
.B \-s
Ask the automounter to provide system-wide mount statistics.
@@ -129,6 +135,16 @@ information about them. Unmounts are requested, not forced. They merely
cause the mounted filesystem to timeout, which will be picked up by
.BR amd 's
main scheduler thus causing the normal timeout action to be taken.
+If the
+.B \-u
+option is repeated,
+.B amq
+will attempt to unmount the file system synchronously by waiting until
+the timeout action is taken and returning an error if the unmount
+fails.
+Any error messages produced may be suppressed with the
+.B \-q
+option.
.TP
.B \-v
@@ -141,7 +157,7 @@ option.
.TP
.B \-w
Translate a full pathname as returned by
-.IR getpwd (3)
+.IR getcwd (3)
into a short
.B Amd
pathname that goes through its mount points. This option requires that
@@ -152,10 +168,11 @@ is running.
.BI \-x " log_options"
Ask the automounter to use the logging options specified in
.I log_options
-from now on.
+from now on. Note that the "fatal" and "error" options cannot be turned
+off.
.TP
-.BI \-D " log_options"
+.BI \-D " debug_options"
Ask the automounter to use the debugging options specified in
.I debug_options
from now on.
@@ -236,7 +253,7 @@ amd: ALL
.SH "SEE ALSO"
.BR amd (8),
-.BR ctl-amd (8),
+.\" .BR ctl-amd (8),
.BR amd.conf (5),
.BR hosts_access (5).
.LP