Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Remove Mounted File System (UNMOUNT) command will make a previously mounted file inaccessible within the integrated file system name space. The file system to be made inaccessible can be a user-defined file system (*UDFS) on the local system, a remote file system accessed through a Network File System server (*NFS), or a local or remote NetWare file system (*NETWARE). If any of the objects in the file system are in use, the command will return an error message to the user. Note that if any part of the file system has itself been mounted over, then this file system cannot be unmounted until it is uncovered.
This command can also be issued using the following alternative command name:
For more information about Network File System commands, see Network File System book, SC41-5714
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
TYPE | Type of file system | *NFS, *UDFS, *NETWARE, *ALL | Required, Positional 1 |
MNTOVRDIR | Directory mounted over | Path name, *ALL | Optional |
MFS | Mounted file system | Path name | Optional |
Top |
Specifies the type of file system to be unmounted.
This is a required parameter.
Top |
Specifies the path name of the directory that was mounted over ('covered') by a previous ADDMFS (Add Mounted File System) or MOUNT command.
This is a required parameter.
Top |
Specifies the path name of the file system to be unmounted. This parameter can only be used to unmount a Block Special File (*BLKSF), when *UDFS is specified for the Type of file system (TYPE) parameter.
Top |
The alternative command name for UNMOUNT is RMVMFS. The following examples use the alternative command name, but UNMOUNT can be replaced directly for RMVMFS in all of them.
Example 1: Unmounting a Directory
RMVMFS TYPE (*NFS) MNTOVRDIR('/tools')
This command unmounts a Network File System that is accessible on directory /tools.
Example 2: Unmounting a User-Defined File System
RMVMFS TYPE(*UDFS) MFS('/DEV/QASP02/CUST1UDFS')
This command unmounts the user-defined file system /dev/qasp02/custudfs.
Top |
*ESCAPE Messages
Top |