cdromd:23456789:wait:/usr/bin/startsrc -s cdromd
Automatically mounts a CD-ROM or DVD-ROM when it is inserted in a device, and provides the server function for the cdutil, cdcheck, cdmount, cdumount, and cdeject commands.
cdromd [ -d ]
The cdromd daemon finds the device list it has to manage and their respective mount points in /etc/cdromd.conf file. If this file does not exist or is empty, cdromd manages all the CD-ROM and DVD-ROM devices available on the system, and the mount points are /cdrom/cd0 for cd0, /cdrom/cd1 for cd1, etc.
After its init phase cdromd periodically checks if a media is present in one of the managed drives (for devices that are not already mounted) and mounts it if there is a media.
cdromd also periodically checks its socket for requests comming from cdutil, cdcheck, cdmount, cdumount or cdeject commands.
The cdromd daemon should be controlled using the System Resource Controller (SRC). Entering cdromd at the command line is not recommended.
The cdromd daemon sends its error messages to the syslogd daemon.
The cdromd daemon can interfere with scripts, applications, or instructions that attempt to mount the CD or DVD device without first checking to see if the device is already enabled. A resource or device busy error will occur in such a condition. Use the cdumount or cdeject command to unmount the device so that you can mount the device as specified in the program or instructions. Alternatively, use the cdcheck -m or mount command to determine the current mount point of the device.
Manipulating the cdromd daemon with the System Resource Controller:
In addition, the cdromd daemon can be controlled by issuing signals using the kill command. Sending a SIGHUP signal to cdromd is equivalent to the "refresh -s cdromd" command, and sending a SIGTERM signal to cdromd is equivalent to the "stopsrc -s cdromd" command.
Item | Description |
---|---|
-d | Sends debugging messages to syslogd daemon. |
This daemon returns the following exit values:
stopsrc -s cdromd
This command stops the daemon.
The -s flag indicates that the specified subsystem is to be
stopped.startsrc -s cdromd
This command starts the daemon.
This command is in the /etc/inittab file and can be used on
the command line. The -s flag indicates that the specified subsystem
is to be started.lssrc -s cdromd
This command returns the
name of the daemon, the process ID of the daemon, and the state of
the daemon (active or inactive).refresh -s cdromd
This command tells the cdromd daemon
to read its configuration file again.Item | Description |
---|---|
/etc/cdromd.conf | Describes managed devices and supported file systems. |