Removes an NFS mount.
/usr/sbin/rmnfsmnt -f PathName [ -I | -B | -N ]
The rmnfsmnt command removes the appropriate entry from the /etc/filesystems file and unmounts the file system specified. When used with the -N flag, the rmnfsmnt command unmounts the file system and does not modify the /etc/filesystems file.
|-B||Removes the entry in the /etc/filesystems file and unmounts the directory. If no entry exists in the /etc/filesystems file, the flag makes no changes to the file. If the file system is not currently mounted, the flag does not attempt to unmount it. This flag is the default.|
|-f PathName||Specifies the path name of the NFS-mounted file system.|
|-I||Removes the entry specified by the path name from the /etc/filesystems file.|
|-N||Unmounts the specified directory and does not modify the /etc/filesystems file.|
rmnfsmnt -f /usr/man -NIn this example, the /usr/man file system is unmounted.
rmnfsmnt -f /usr/local/man -BIn this example, the mount for the /usr/local/man file is removed.
|/etc/filesystems||Lists the remote file systems to mount during the system restart.|
The chnfsmnt command, mknfsmnt command, mount command, umount command.
Network File System (NFS) Overview for System Management in AIX Version 4.3 System Management Guide: Communications and Networks.
List of NFS Commands.