exportfs(1M) exportfs(1M) NAME exportfs - export and unexport directories to NFS clients SYNOPSIS /usr/etc/exportfs [ -aituvfR ] [ -o options ] [ directory ] DESCRIPTION exportfs makes a local directory (or file) available for mounting over the network by NFS clients. It is normally invoked at boot time by the /etc/init.d/network script, and uses information contained in the /etc/exports file to export a directory (which must be specified as a full pathname). The superuser can run exportfs at any time to alter the list or characteristics of exported directories. Directories that are currently exported are listed in the file /etc/xtab. With no options or arguments, exportfs prints out the list of directories currently exported. OPTIONS -a All. Export all directories listed in /etc/exports, or if -u is specified, unexport all of the currently exported directories. -t Normally exportfs will attempt to find out a real pathname for the exported entry. In some situations, e.g. a filesystem on which an exported entry resides becomes unavailable or a user actually intend to export a symlink to preserve logical namespace setup, the path name to real path name translation can be suppressed by using this option. -v Verbose. Print each directory as it is exported or unexported. -u Unexport the indicated directories. -i Ignore the options in /etc/exports. Normally, exportfs consults /etc/exports for the options associated with the exported directory. -f Remove entry from /etc/xtab even if it cannot be unexported. -R Starting with 6.5.28 exportfs does not enumerate the entries in the netgroups at the export time which means any hostnames which cannot be resolved will not be reported. By using this option it is possible to return to the pre-6.5.28 behaviour to check the entries in the netgroup. -o options Specify a comma-separated list of optional characteristics for the directory being exported. options are described in exports(4). FILES /etc/exports static export information /etc/xtab current state of exported directories /etc/netgroup SEE ALSO exports(4), netgroup(4), showmount(1M). WARNINGS You cannot export a directory that is either a parent- or a sub-directory of one that is currently exported and within the same filesystem. It would be illegal, for example, to export both /usr and /usr/local if both directories resided in the same disk partition. Extremely long export lists (hundreds of hosts or netgroups for a single exported directory) may cause mount requests for that exported directory to time out. In the Trusted IRIX environment filesystems should not be exported to non-Trusted clients. Trix clients should be explicitly defined when exporting, (see exports(4)). When exporting a symbolic link, the actual exported entry will be the real path to a directory or a file to which the symbolic link points to. If export of a symbolic link is required, e.g. to create a logical hierarchy, use -t option. Note that if a symbolic link is exported by using -t option then a directory or a file to which it points to must also be exported otherwise access to such entry will be denied. Page 2