EXPORTS(NF) UNIX System V
Name
exports - NFS file systems being exported
Syntax
/etc/exports
Description
The file /etc/exports contains entries for directories and
file systems that are being exported to NFS clients. It is
created by the system administrator using a text editor and
processed by the mount request daemon mountd(1M) each time a
mount request is received.
An entry for a directory consists of a line of the following
form:
directory [ -option[,option ]]...
directory is the pathname of a directory (or
file).
option is currently
access=client[:client]...
Give mount access to each client
listed. A client can either be a
hostname, or a netgroup (see
netgroup(4)). Each client in the
list is first checked for in the
netgroup database, and then the
hosts database. The default value
allows any machine to mount the
given directory.
A `#' (pound-sign) anywhere in the file indicates a comment
that extends to the end of the line. Lines beginning with
white space are continuation lines.
EXAMPLE
/usr -access=clients # export to my clients
/usr/local # export to the world
/usr2 -access=sun:sunday # export to only these machines
FILES
/etc/exports
NOTES
The identification of the remote system is dependent on the
local network transport mechanism.
WARNINGS
You cannot export either a parent directory or a
subdirectory of an exported directory that is within the
same filesystem. It would be illegal, for instance, to
export both /usr and /usr/local if both directories resided
on the same disk partition.
See Also
mountd(NADM)
(printed 7/6/90) EXPORTS(NF)