Open System Services NFS SCF Reference Manual

SCF Commands for OSS NFS
Open System Services NFS SCF Reference Manual522582-001
2-10
Considerations
The ADD EXPORT command has the following syntax:
For an EXPORT object, attribute-spec can be:
EXPORT export-name
specifies the name of the EXPORT object to be added. EXPORT objects are
identified by a case-sensitive NFS path name that can include up to 1024 characters,
excluding ASCII NUL.
ACCESS { name }
{ ( name [ , name ]... ) }
specifies a netgroup or host machine that is allowed to issue remote mounts against
the specified EXPORT object.
Considerations
Consider the following points when using the ADD EXPORT command:
ADD EXPORT is a sensitive command requiring super-ID access.
You cannot use object-name templates to specify object names with the ADD
EXPORT command.
The EXPORT object is only meaningful when its object name corresponds to a
directory that is the mount point of a SERVER object in the STARTED summary
state. While you can define EXPORT objects for non-existent directories or for
directories that are not server mount points, these EXPORT objects are ignored.
Export permissions are only checked by the NFS manager process for the mount
point of the server responsible for the directory being remotely mounted.
Examples
This command allows a host machine named sysabc to perform a remote mount of the
root directory:
->ADD EXPORT $ZNFS./, ACCESS sysabc
This command allows the netgroups named sales and dist to perform a remote mount of
the /usr/invoice directory:
->ADD EXPORT $ZNFS./usr/invoice, ACCESS (sales, dist)
ADD EXPORT export-name [ [ , attribute-spec ]... ]
[ ACCESS { name }
{ ( name [ , name ]... ) } ]