summaryrefslogtreecommitdiffstats
path: root/usr.sbin/amd
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-08-22 17:08:43 +0000
committerschwarze <schwarze@openbsd.org>2017-08-22 17:08:43 +0000
commitc27dbf2309e04f090aad944fd92b453b0316c7f9 (patch)
tree62bbd0d1a8cae26e2b3b434bd14a32b0a3e107b9 /usr.sbin/amd
parentdefault automount dir was changed from /a to /tmp_mnt in amd.c rev. 1.15; (diff)
downloadwireguard-openbsd-c27dbf2309e04f090aad944fd92b453b0316c7f9.tar.xz
wireguard-openbsd-c27dbf2309e04f090aad944fd92b453b0316c7f9.zip
kill .Tn
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r--usr.sbin/amd/amd/amd.834
-rw-r--r--usr.sbin/amd/amq/amq.818
2 files changed, 14 insertions, 38 deletions
diff --git a/usr.sbin/amd/amd/amd.8 b/usr.sbin/amd/amd/amd.8
index 132e97fc776..00e430ea471 100644
--- a/usr.sbin/amd/amd/amd.8
+++ b/usr.sbin/amd/amd/amd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: amd.8,v 1.23 2017/08/22 16:36:07 schwarze Exp $
+.\" $OpenBSD: amd.8,v 1.24 2017/08/22 17:08:43 schwarze Exp $
.\"
.\" Copyright (c) 1989 Jan-Simon Pendry
.\" Copyright (c) 1989 Imperial College of Science, Technology & Medicine
@@ -67,9 +67,7 @@ Filesystems are automatically unmounted when they
appear to be quiescent.
.Pp
.Nm amd
-operates by attaching itself as an
-.Tn NFS
-server to each of the specified
+operates by attaching itself as an NFS server to each of the specified
.Ar directories .
Lookups within the specified directories
are handled by
@@ -154,9 +152,7 @@ it.
.It Fl t Ar interval.interval
Specify the
.Ar interval ,
-in tenths of a second, between
-.Tn NFS/RPC/UDP
-retries.
+in tenths of a second, between NFS/RPC/UDP retries.
The default is 0.8 seconds.
The second value alters the retransmit counter.
Useful defaults are supplied if either or both
@@ -175,15 +171,9 @@ Specify run-time logging options.
The options are a comma separated
list chosen from: fatal, error, user, warn, info, map, stats, all.
.It Fl y Ar YP-domain
-Specify an alternative
-.Tn NIS
-domain from which to fetch the
-.Tn NIS
-maps.
+Specify an alternative NIS domain from which to fetch the NIS maps.
The default is the system domain name.
-This option is ignored if
-.Tn NIS
-support is not available.
+This option is ignored if NIS support is not available.
This variable is available inside the configuration file as
.Va ${domain} .
.El
@@ -214,20 +204,12 @@ Department of Computing, Imperial College, London, UK.
.Sh CAVEATS
Some care may be required when creating a mount map.
.Pp
-Symbolic links on an
-.Tn NFS
-filesystem can be incredibly inefficient.
-In most implementations of
-.Tn NFS ,
-their interpolations are not cached by
+Symbolic links on an NFS filesystem can be incredibly inefficient.
+In most implementations of NFS, their interpolations are not cached by
the kernel and each time a symbolic link is
encountered during a
.Em lookuppn
-translation it costs an
-.Tn RPC
-call to the
-.Tn NFS
-server.
+translation it costs an RPC call to the NFS server.
A large improvement in real-time
performance could be gained by adding a cache somewhere.
Replacing
diff --git a/usr.sbin/amd/amq/amq.8 b/usr.sbin/amd/amq/amq.8
index e3c91300a3e..4156522f185 100644
--- a/usr.sbin/amd/amq/amq.8
+++ b/usr.sbin/amd/amq/amq.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: amq.8,v 1.14 2014/01/20 05:07:48 schwarze Exp $
+.\" $OpenBSD: amq.8,v 1.15 2017/08/22 17:08:43 schwarze Exp $
.\"
.\" Copyright (c) 1990 Jan-Simon Pendry
.\" Copyright (c) 1990 Imperial College of Science, Technology & Medicine
@@ -34,7 +34,7 @@
.\"
.\" from: @(#)amq.8 8.3 (Berkeley) 4/18/94
.\"
-.Dd $Mdocdate: January 20 2014 $
+.Dd $Mdocdate: August 22 2017 $
.Dt AMQ 8
.Os
.Sh NAME
@@ -51,8 +51,7 @@
provides a simple way of determining the current state of the
.Xr amd 8
program.
-Communication is by
-.Tn RPC .
+Communication is by RPC.
Three modes of operation are supported by the current protocol.
By default a list of mount points and auto-mounted filesystems
is output.
@@ -71,9 +70,7 @@ Request automounter to flush the internal caches.
Query alternate host
.Ar hostname .
By default the local host is used.
-In an
-.Tn HP-UX
-cluster, the root server is queried by default, since
+In an HP-UX cluster, the root server is queried by default, since
that is the system on which the automounter is normally run.
.It Fl m
Request the automounter to provide a list of mounted filesystems,
@@ -101,8 +98,7 @@ option.
.Sh FILES
.Bl -tag -width amq.xxxxx -compact
.It Pa amq.x
-.Tn RPC
-protocol description
+RPC protocol description
.El
.Sh SEE ALSO
.Xr amd 8
@@ -114,9 +110,7 @@ Department of Computing, Imperial College, London, UK.
.\" .At
.Sh CAVEATS
.Nm amq
-uses a Sun registered
-.Tn RPC
-program number (300019 decimal) which may not
+uses a Sun registered RPC program number (300019 decimal) which may not
be in the
.Pa /etc/rpc
database.