The DISMOUNT command logically dismounts a volume. The volume entry corresponding to the specified LDEV is removed from the mounted volume table in DISCUTIL. For removable disk drives, a volume can be dismounted, then the media or disk pack on the corresponding LDEV can be powered off and removed. A new disk pack may then be mounted in the disk drive, powered on, and mounted with the MOUNT command. DISCUTIL then recognizes the new disk pack.
Task |
 |
Dismounts a disk.
Capability |
 |
No special capability required.
Syntax |
 |
Parameter |
 |
- ldev
A number from 1 to 100 specifying the logical device number of the volume that will be dismounted. Required.
Example |
 |
This example shows how to dismount a disk pack using the DISMOUNT command.
discutil> DISMOUNT 17
*Note: VOLUME DISMOUNTED ON LDEV 17
|