summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2007-05-07 07:53:32 -0400
committerNeil Brown <neilb@suse.de>2007-05-08 14:38:14 +1000
commita5f020dda1a93657eae1b297a67d054269a3ef0c (patch)
tree92e4f23d5a6b0b29d754bf8b0846467c67900f86
parentde6497fce274e35a0c7aeac14dbfff476b012e37 (diff)
downloadnfs-utils-a5f020dda1a93657eae1b297a67d054269a3ef0c.tar.gz
nfs-utils-a5f020dda1a93657eae1b297a67d054269a3ef0c.tar.xz
nfs-utils-a5f020dda1a93657eae1b297a67d054269a3ef0c.zip
update manpages for showmount and mountd
This patch updates the manpages for showmount and mountd. It adds a description of the new mountd -r option, and a caveat about the unreliability of showmount -a. Signed-off-by: Jeff Layton <jlayton@redhat.com>
-rw-r--r--utils/mountd/mountd.man7
-rw-r--r--utils/showmount/showmount.man6
2 files changed, 11 insertions, 2 deletions
diff --git a/utils/mountd/mountd.man b/utils/mountd/mountd.man
index f8646d4..4276663 100644
--- a/utils/mountd/mountd.man
+++ b/utils/mountd/mountd.man
@@ -125,6 +125,13 @@ If this option is not specified the default of
.BR /var/lib/nfs
is used.
.TP
+.BI "\-r," "" " \-\-reverse\-lookup"
+mountd tracks IP addresses in the rmtab, and when a DUMP request is made (by
+someone running showmount -a, for instance), it returns IP addresses instead
+of hostnames by default. This option causes mountd to do a reverse
+lookup on each IP address and return that hostname instead. Enabling this can
+have a substantial negative effect on performance in some situations.
+.TP
.BR "\-t N" " or " "\-\-num\-threads=N"
This option specifies the number of worker threads that rpc.mountd
spawns. The default is 1 thread, which is probably enough. More
diff --git a/utils/showmount/showmount.man b/utils/showmount/showmount.man
index 5162ba4..a2f510f 100644
--- a/utils/showmount/showmount.man
+++ b/utils/showmount/showmount.man
@@ -25,8 +25,10 @@ appear as though it were processed through ``sort \-u''.
.SH OPTIONS
.TP
.BR \-a " or " \-\-all
-List both the client hostname and mounted directory in
-host:dir format.
+List both the client hostname or IP address and mounted directory in
+host:dir format. This info should not be considered reliable. See the notes
+on rmtab in
+.BR rpc.mountd (8).
.TP
.BR \-d " or " \-\-directories
List only the directories mounted by some client.