.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
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
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
are removed from the kernel export tables, and the file is cleared. This
effectively shuts down all NFS activity.
.P
are removed from the kernel export tables, and the file is cleared. This
effectively shuts down all NFS activity.
.P
.\" -------------------- EXAMPLES ---------------------------------
.SH EXAMPLES
The following adds all directories listed in
.\" -------------------- EXAMPLES ---------------------------------
.SH EXAMPLES
The following adds all directories listed in
allowing asynchronous writes, one would do this:
.P
.nf
.B "# exportfs -o async django:/usr/tmp
.fi
allowing asynchronous writes, one would do this:
.P
.nf
.B "# exportfs -o async django:/usr/tmp
.fi
.\" -------------------- DEPENDENCIES -----------------------------
.SH DEPENDENCIES
Exporting to IP networks, DNS and NIS domains does not enable clients
.\" -------------------- DEPENDENCIES -----------------------------
.SH DEPENDENCIES
Exporting to IP networks, DNS and NIS domains does not enable clients
.P
When unexporting a network or domain entry, any current exports to members
of this group will be checked against the remaining valid exports and
.P
When unexporting a network or domain entry, any current exports to members
of this group will be checked against the remaining valid exports and