Device-Clean Scripts for CD-ROM Drives

The sr_cleandevice-clean script is provided for CD-ROM drives:

The script uses the eject command to remove the media from the drive. If the eject command fails, the device is placed in the allocate error state. For more information, see the eject(1) man page.