[ Previous | Next | Table of Contents | Index | Library Home |
Legal |
Search ]
Commands Reference, Volume 4
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.
|
- To unmount a file system,
enter:
rmnfsmnt -f /usr/man -N
In this example, the /usr/man file system is unmounted.
- To remove a mount for a file,
enter:
rmnfsmnt -f /usr/local/man -B
In 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 5L Version
5.1 System Management Guide: Communications and
Networks.
List of NFS Commands.
[ Previous | Next | Table of Contents | Index |
Library Home |
Legal |
Search ]