[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]
Commands Reference, Volume 1
cdutil Command
Purpose
Tells the cdromd daemon to suspend or resume management
of a device.
Syntax
cdutil { -r | -s } [ -q ] [ -h | -? ] DeviceName
Description
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.
Flags
-h or -? |
Displays the command usage message. |
-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. |
Exit Status
This command returns the following exit values:
- 0
- No error
- >0
- An error occurred
Examples
- To suspend management of cd0 by cdromd, enter:
cdutil -s cd0
- To resume management of cd1 by cdromd without any printed error messages, enter:
cdutil -r -q cd1
Related Information
The cdcheck command, cdeject command, cdmount command, cdromd daemon, cdumount command.
The cdromd.conf file format.
[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]