|
|
2038fc4 |
commit fa29d7a9a3d8a72b79924d28813eef7e55a25bc9
|
|
|
557c859 |
Author: Steve Dickson <steved@redhat.com>
|
|
|
2038fc4 |
Date: Tue Mar 18 09:33:44 2008 -0400
|
|
|
557c859 |
|
|
|
557c859 |
Updated exportfs man to talk about /var/lib/nfs/etab
|
|
|
557c859 |
instead of /var/lib/nfs/xtab
|
|
|
557c859 |
|
|
|
557c859 |
Signed-off-by: Steve Dickson <steved@redhat.com>
|
|
|
557c859 |
|
|
|
557c859 |
diff --git a/utils/exportfs/exportfs.man b/utils/exportfs/exportfs.man
|
|
|
2038fc4 |
index 59789cc..a8fdb05 100644
|
|
|
557c859 |
--- a/utils/exportfs/exportfs.man
|
|
|
557c859 |
+++ b/utils/exportfs/exportfs.man
|
|
|
557c859 |
@@ -22,14 +22,14 @@ The
|
|
|
557c859 |
.B exportfs
|
|
|
557c859 |
command is used to maintain the current table of exported file systems for
|
|
|
557c859 |
NFS. This list is kept in a separate file named
|
|
|
557c859 |
-.BR /var/lib/nfs/xtab
|
|
|
557c859 |
+.BR /var/lib/nfs/etab
|
|
|
557c859 |
which is read by
|
|
|
557c859 |
.B mountd
|
|
|
557c859 |
when a remote host requests access to mount a file tree, and parts of
|
|
|
557c859 |
the list which are active are kept in the kernel's export table.
|
|
|
557c859 |
.P
|
|
|
557c859 |
Normally this
|
|
|
557c859 |
-.B xtab
|
|
|
557c859 |
+.B etab
|
|
|
557c859 |
file is initialized with the list of all file systems named in
|
|
|
557c859 |
.B /etc/exports
|
|
|
557c859 |
by invoking
|
|
|
557c859 |
@@ -59,7 +59,7 @@ In the new mode,
|
|
|
557c859 |
does not give any information to the kernel but only provides it to
|
|
|
557c859 |
.B mountd
|
|
|
557c859 |
through the
|
|
|
557c859 |
-.B /var/lib/nfs/xtab
|
|
|
557c859 |
+.B /var/lib/nfs/etab
|
|
|
557c859 |
file.
|
|
|
557c859 |
.B mountd
|
|
|
557c859 |
will listen to requests from the kernel and will provide information
|
|
|
557c859 |
@@ -69,7 +69,7 @@ In the legacy mode,
|
|
|
557c859 |
any export requests which identify a specific host (rather than a
|
|
|
557c859 |
subnet or netgroup etc) are entered directly into the kernel's export
|
|
|
557c859 |
table as well as being written to
|
|
|
557c859 |
-.BR /var/lib/nfs/xtab .
|
|
|
557c859 |
+.BR /var/lib/nfs/etab .
|
|
|
557c859 |
Further, any mount points listed in
|
|
|
557c859 |
.B /var/lib/nfs/rmtab
|
|
|
557c859 |
which match a non host-specific export request will cause an
|
|
|
557c859 |
@@ -93,8 +93,8 @@ file, so that only default options and options given on the command
|
|
|
557c859 |
line are used.
|
|
|
557c859 |
.TP
|
|
|
557c859 |
.B -r
|
|
|
557c859 |
-Reexport all directories. It synchronizes /var/lib/nfs/xtab
|
|
|
557c859 |
-with /etc/exports. It removes entries in /var/lib/nfs/xtab
|
|
|
557c859 |
+Reexport all directories. It synchronizes /var/lib/nfs/etab
|
|
|
557c859 |
+with /etc/exports. It removes entries in /var/lib/nfs/etab
|
|
|
557c859 |
which are deleted from /etc/exports, and remove any entries from the
|
|
|
557c859 |
kernel export table which are no longer valid.
|
|
|
557c859 |
.TP
|
|
|
557c859 |
@@ -120,7 +120,7 @@ entries to the export table. When using
|
|
|
557c859 |
all directories in
|
|
|
557c859 |
.B exports(5)
|
|
|
557c859 |
are added to
|
|
|
557c859 |
-.B xtab
|
|
|
557c859 |
+.B etab
|
|
|
557c859 |
and the resulting list is pushed into the kernel.
|
|
|
557c859 |
.P
|
|
|
557c859 |
The
|
|
|
557c859 |
@@ -152,7 +152,7 @@ directory.
|
|
|
557c859 |
Modifications of the kernel export table used by
|
|
|
557c859 |
.B nfsd(8)
|
|
|
557c859 |
take place immediately after parsing the command line and updating the
|
|
|
557c859 |
-.B xtab
|
|
|
557c859 |
+.B etab
|
|
|
557c859 |
file.
|
|
|
557c859 |
.P
|
|
|
557c859 |
The default export options are
|
|
|
557c859 |
@@ -163,14 +163,14 @@ The third synopsis shows how to unexported a currently exported directory.
|
|
|
557c859 |
When using
|
|
|
557c859 |
.BR "exportfs -ua" ,
|
|
|
557c859 |
all entries listed in
|
|
|
557c859 |
-.B xtab
|
|
|
557c859 |
+.B etab
|
|
|
557c859 |
are removed from the kernel export tables, and the file is cleared. This
|
|
|
557c859 |
effectively shuts down all NFS activity.
|
|
|
557c859 |
.P
|
|
|
2038fc4 |
To remove an export to a host, specify a
|
|
|
557c859 |
.I host:/path
|
|
|
557c859 |
pair. This deletes the specified entry from
|
|
|
557c859 |
-.B xtab
|
|
|
557c859 |
+.B etab
|
|
|
557c859 |
and removes the corresponding kernel entry (if any).
|
|
|
2038fc4 |
To remove one or more exports to several hosts, use
|
|
|
2038fc4 |
.BR "exportfs -ua" .
|