System Administration Guide: Devices and File Systems

Ejecting Removable Media

As in previous Solaris releases, use the eject command to unmount and eject removable media. However, the following eject options are available:

-f

Forces the device to eject even if the device is busy.

-l

Displays paths and nicknames of devices that can be ejected.

-t

A CD-ROM tray close command is provided to the device. Not all devices support this option.

For example, to eject by its volume label:


% eject mypictures

As in previous Solaris releases, you might need to issue the volcheck command before using the eject command to eject a diskette.

For more information, see eject(1).