2007-10-29 18:04:51

by Steinar H. Gunderson

[permalink] [raw]
Subject: [PATCH] Clarify language in man exportfs

(I still have two pending minor patches, by the way :-) )

As discussed in a user case earlier, the wording in the exportfs man page can
be a bit confusing, implying that "exportfs -u :/foo" will unexport /foo from
all hosts, which it won't. Thus, make the language clearer -- based on
suggestion/patch from David Liontooth.

Signed-off-by: Steinar H. Gunderson <[email protected]>

--- nfs-utils-1.1.1.orig/utils/exportfs/exportfs.man
+++ nfs-utils-1.1.1/utils/exportfs/exportfs.man
@@ -167,11 +167,13 @@ all entries listed in
are removed from the kernel export tables, and the file is cleared. This
effectively shuts down all NFS activity.
.P
-To remove individual export entries, one can specify a
+To remove an export to a host, specify a
.I host:/path
pair. This deletes the specified entry from
.B xtab
and removes the corresponding kernel entry (if any).
+To remove one or more exports to several hosts, use
+.BR "exportfs -ua" .
.P
.\" -------------------- Dumping the Export Table -----------------
.SS Dumping the Export Table

/* Steinar */
--
Homepage: http://www.sesse.net/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2007-11-03 13:21:41

by Steve Dickson

[permalink] [raw]
Subject: Re: [PATCH] Clarify language in man exportfs



Steinar H. Gunderson wrote:
> (I still have two pending minor patches, by the way :-) )
>
> As discussed in a user case earlier, the wording in the exportfs man page can
> be a bit confusing, implying that "exportfs -u :/foo" will unexport /foo from
> all hosts, which it won't. Thus, make the language clearer -- based on
> suggestion/patch from David Liontooth.
>
> Signed-off-by: Steinar H. Gunderson <[email protected]>
Committed.

Also added some examples on how to unexport directories.

steved.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs