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 ]
cdromd:23456789:wait:/usr/bin/startsrc -s cdromd
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 is a subsystem controlled by the System Resource Controller (SRC). Its subsystem name is cdromd. The cdromd daemon can be manipulated by the following SRC commands:
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.
-d | Sends debugging messages to syslogd daemon. |
This daemon returns the following exit values:
stopsrc -s cdromdThis command stops the daemon. The -s flag indicates that the specified subsystem is to be stopped.
startsrc -s cdromdThis 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 cdromdThis command returns the name of the daemon, the process ID of the daemon, and the state of the daemon (active or inactive).
refresh -s cdromdThis command tells the cdromd daemon to read its configuration file again.
/etc/cdromd.conf | Describes managed devices and supported file systems. |
cdcheck command, cdeject command, cdmount command, cdumount command, cdutil command, syslogd daemon.
cdromd.conf file format