walters / rpms / nfs-utils

Forked from rpms/nfs-utils 6 years ago
Clone
51df58e
commit efbda485ff5b3d5916971e1af656d2c21307af30
51df58e
Author: Steve Dickson <steved@redhat.com>
51df58e
Date:   Sat Nov 3 09:14:57 2007 -0400
51df58e
51df58e
    The wording in the exportfs man page can be a bit confusing, implying
51df58e
    that "exportfs -u :/foo" will unexport /foo from all hosts, which it won't.
51df58e
    
51df58e
    This patch cleans that wording up and adds a couple examples on how to
51df58e
    unexport directories
51df58e
    
51df58e
    Signed-off-by: Steinar H. Gunderson <sesse@debian.org>
51df58e
    Signed-off-by: Steve Dickson <steved@redhat.com>
51df58e
51df58e
diff -up nfs-utils-1.1.1/utils/exportfs/exportfs.man.orig nfs-utils-1.1.1/utils/exportfs/exportfs.man
51df58e
--- nfs-utils-1.1.1/utils/exportfs/exportfs.man.orig	2008-01-22 13:02:18.000000000 -0500
51df58e
+++ nfs-utils-1.1.1/utils/exportfs/exportfs.man	2008-01-22 13:11:52.000000000 -0500
51df58e
@@ -167,11 +167,13 @@ all entries listed in
51df58e
 are removed from the kernel export tables, and the file is cleared. This
51df58e
 effectively shuts down all NFS activity.
51df58e
 .P
51df58e
-To remove individual export entries, one can specify a
51df58e
+To remove individual export entries, specify a
51df58e
 .I host:/path
51df58e
 pair. This deletes the specified entry from
51df58e
 .B etab
51df58e
 and removes the corresponding kernel entry (if any).
51df58e
+To remove one or more exports to several hosts, use
51df58e
+.BR "exportfs -ua" .
51df58e
 .P
51df58e
 .\" -------------------- Dumping the Export Table -----------------
51df58e
 .SS Dumping the Export Table 
51df58e
@@ -202,6 +204,21 @@ allowing asynchronous writes, one would 
51df58e
 .nf
51df58e
 .B "# exportfs -o async django:/usr/tmp
51df58e
 .fi
51df58e
+.P
51df58e
+To unexport the
51df58e
+.B /usr/tmp
51df58e
+directory:
51df58e
+.P
51df58e
+.nf
51df58e
+.B "# exportfs -u django:/usr/tmp
51df58e
+.fi
51df58e
+.P
51df58e
+To unexport all the directories listed in
51df58e
+.B /etc/exports:
51df58e
+.P
51df58e
+.nf
51df58e
+.B "# exportfs -au
51df58e
+.fi
51df58e
 .\" -------------------- DEPENDENCIES -----------------------------
51df58e
 .SH DEPENDENCIES
51df58e
 Exporting to IP networks, DNS and NIS domains does not enable clients