instead of /var/lib/nfs/xtab
Signed-off-by: Steve Dickson <steved@redhat.com>
.B exportfs
command is used to maintain the current table of exported file systems for
NFS. This list is kept in a separate file named
.B exportfs
command is used to maintain the current table of exported file systems for
NFS. This list is kept in a separate file named
which is read by
.B mountd
when a remote host requests access to mount a file tree, and parts of
the list which are active are kept in the kernel's export table.
.P
Normally this
which is read by
.B mountd
when a remote host requests access to mount a file tree, and parts of
the list which are active are kept in the kernel's export table.
.P
Normally this
file is initialized with the list of all file systems named in
.B /etc/exports
by invoking
file is initialized with the list of all file systems named in
.B /etc/exports
by invoking
does not give any information to the kernel but only provides it to
.B mountd
through the
does not give any information to the kernel but only provides it to
.B mountd
through the
file.
.B mountd
will listen to requests from the kernel and will provide information
file.
.B mountd
will listen to requests from the kernel and will provide information
any export requests which identify a specific host (rather than a
subnet or netgroup etc) are entered directly into the kernel's export
table as well as being written to
any export requests which identify a specific host (rather than a
subnet or netgroup etc) are entered directly into the kernel's export
table as well as being written to
Further, any mount points listed in
.B /var/lib/nfs/rmtab
which match a non host-specific export request will cause an
Further, any mount points listed in
.B /var/lib/nfs/rmtab
which match a non host-specific export request will cause an
-Reexport all directories. It synchronizes /var/lib/nfs/xtab
-with /etc/exports. It removes entries in /var/lib/nfs/xtab
+Reexport all directories. It synchronizes /var/lib/nfs/etab
+with /etc/exports. It removes entries in /var/lib/nfs/etab
which are deleted from /etc/exports, and remove any entries from the
kernel export table which are no longer valid.
.TP
which are deleted from /etc/exports, and remove any entries from the
kernel export table which are no longer valid.
.TP
all directories in
.B exports(5)
are added to
all directories in
.B exports(5)
are added to
and the resulting list is pushed into the kernel.
.P
The
and the resulting list is pushed into the kernel.
.P
The
Modifications of the kernel export table used by
.B nfsd(8)
take place immediately after parsing the command line and updating the
Modifications of the kernel export table used by
.B nfsd(8)
take place immediately after parsing the command line and updating the
file.
.P
The default export options are
file.
.P
The default export options are
When using
.BR "exportfs -ua" ,
all entries listed in
When using
.BR "exportfs -ua" ,
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 an export to a host, specify a
.I host:/path
pair. This deletes the specified entry from
are removed from the kernel export tables, and the file is cleared. This
effectively shuts down all NFS activity.
.P
To remove an export to a host, specify a
.I host:/path
pair. This deletes the specified entry from
and removes the corresponding kernel entry (if any).
To remove one or more exports to several hosts, use
.BR "exportfs -ua" .
and removes the corresponding kernel entry (if any).
To remove one or more exports to several hosts, use
.BR "exportfs -ua" .