Unexports a directory from NFS clients.
/usr/sbin/rmnfsexp -d Directory [-f Exports_file] [ -I | -B | -N ]
The rmnfsexp command removes an entry from the exports list for NFS clients. The rmnfsexp command starts the exportfs command to unexport the specified directory. If an entry exists in the /etc/exports file, that entry is removed.
|-d Directory||Specifies the directory to be unexported.|
|-f Exports_File||Specifies the full pathname of the exports file to use if other than the /etc/exports file.|
|-I||This flag directs the command to remove the entry from the /etc/exports file without executing the exportfs command.|
|-B||Removes the entry in the /etc/exports file for the directory specified and executes the exportfs command to remove the export.|
|-N||Unexports the directory immediately by invoking the exportfs command. The /etc/exports file is not modified with this flag.|
rmnfsexp -d /usr -NIn this example, the /usr directory is unexported immediately.
rmnfsexp -d /home/guest -B
rmnfsexp -d /usr -f /etc/exports.other -N
|Lists the directories that the server can export.|
|Lists currently exported directories.|
|Contains information about each user group on the network.|
The chnfsexp command, exportfs command, mknfsexp command.
List of NFS Commands.
Network File System (NFS) Overview for System Management in AIX Version 4.3 System Management Guide: Communications and Networks.