HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
e
exportfs(1M) exportfs(1M)
exportfs -i -o access=@192.144.132/17 /var/adm
or
exportfs -i -o access=@mynetwork/17 /var/adm
Export access to /var/adm where the hostname,
terra, in the netgroup engineering is denied access:
exportfs -i -o access=-terra:engineering /var/adm
Export access to /var/adm where the hostname,
terra, is granted access because it is part of the net-
group engineering.
exportfs -i -o access=engineering:-terra /var/adm
WARNINGS
You cannot export a directory that resides within the same file system and is either a parent or sub-
directory of a directory that is currently exported. For example,
/usr and /usr/local cannot both be
exported if they reside in the same disk partition.
If you unexport a directory, remove a client from the access list, then export again, the client still has
access to the directory until the client unmounts the directory. Removing a client from the
root
or rw list
takes effect immediately.
/etc/xtab is a system file that contains a list of currently exported directories and files. This file is
maintained by exportfs. To ensure that this file is always synchronous with current system data struc-
tures, do not attempt to edit /etc/xtab by hand.
FILES
/etc/exports Static export information
/etc/hosts List of hostnames
/etc/netgroup List of network groups
/etc/xtab Current state of exported directories
/etc/networks Network information
SEE ALSO
showmount(1M), exports(4), hosts(4), netgroup(4), networks(4).
Section 1M−−210 Hewlett-Packard Company − 4 − HP-UX 11i Version 1: September 2005