/etc/xtab
The /etc/exports file contains entries for directories that can be exported to NFS clients. Changes to /etc/exports require running exportfs.8 for the changes to affect the daemon's operation. Entries added by the NFSManager application automatically result in exportfs being run. Manually done changes require rerunning exportfs.8
Only when this file is present at boot time, or entries exist in the local netinfo /exports directory, does the rc.local script execute exportfs.8 and start the NFS filesystem daemons nfsd.8 and rpc.mountd.8
The /etc/xtab file contains entries for directories that are currently exported. This file should only be accessed by programs using getexportent (see exportent.3 (Use the -u option of exportfs to remove entries from this file).
An entry for a directory consists of a line of the following form:
directory -option[,option ]...
A ``#'' anywhere in the file indicates a comment that extends to the end of the line.
/usr -access=clients # export to my clients /usr/local # export to the world /usr2 -access=hermes:zip:tutorial # export to only these machines /usr/sun -root=hermes:zip # give root access only to these /usr/new -anon=0 # give all machines root access /usr/bin -ro # export read-only to everyone /usr/stuff -access=zip,anon=-3,ro # several options on one line
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.
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97