Ejects a media from a CD drive managed by the cdromd daemon.
cdeject [ -q ] [ -h | -? ] DeviceName
The cdeject command sends an appropriate command to the cdromd daemon which unmounts (if necessary) the file system corresponding to the specified device and ejects the media from the drive specified by DeviceName.
-h or -? | Displays the command usage message. |
-q | Specifies silent mode: Doesn't print any information or error message. |
DeviceName | Specifies the name of the device. |
This command returns the following exit values:
cdeject cd0
cdeject -q cd1
The cdcheck command, cdmount command, cdromd daemon, cdumount command, cdutil command.
The cdromd.conf file format.