Tells the cdromd daemon to suspend or resume management of a device.
The cdutil command sends an appropriate command to the cdromd daemon which suspends (-s flag) or resumes (-r flag) the management of the device specified by DeviceName.
A device managed by cdromd must be set in suspend state if it needs to be unconfigured (for example for a hotswap of the parent adapter).
The resume flag (-r) asks cdromd to restart polling the device.
Item | Description |
---|---|
-h or -? | Displays the command usage message. |
-k | Do not eject the media when suspending a device. |
-l | Load the media if one is present in the drive. |
-q | Specifies silent mode: Doesn't print any information or error messages. |
-r | Resumes device management by cdromd. |
-s | Suspends device management by cdromd. |
DeviceName | Specifies the name of the device. |
This command returns the following exit values:
cdutil -s cd0
cdutil -s -k cd0
cdutil -r -q cd1