All rights reserved.
%sccs.include.redist.man%
@(#)exports.5 5.1 (Berkeley) 06/25/90
Each line in the file specifies one remote mount point. The first field is the mount point directory path followed optionally by export options and specific hosts separated by white space. Only the first entry for a given local file system may specify the export options, since these are handled on a per local file system basis. If no specific hosts are specified, the mount point is exported to all hosts.
The export options are as follows: -root=<uid> specifies how to map root's uid (default -2). The option -r is synonyms for -root in an effort to be backward compatible with older export file formats. -ro specifies that the file system should be exported Read-only (default Read/Write). The option -o is synonyms for -ro in an effort to be backward compatible with older export file formats.
For example:
given that /usr, /u and /u2 are local file system mount points, specifies the following:/usr is exported to hosts rickers and snowhite.cis.uoguelph.ca with root mapped to root.
/usr/local is exported to host 131.104.48.16 with root mapped to root.
/u is exported to all hosts with root mapped to uid 5.
/u2 is exported to all hosts Read-only with root mapped to -2.
Note that /usr/local -root=5 would have been incorrect, since /usr and /usr/local reside in the same local file system.