Eject Cdrom, forcefully ejects your cdrom/cdwriter device.
Version: 1.1Eject Cdrom, forcefully ejects your cdrom/cdwriter device.
Operating System: Linux
It is especially useful when you are in a hurry, and don't know which application is using the cdrom device. Instead of pressing the Reset Button use Eject Cdrom
Eject Cdrom, will try the "normal" eject first, if it fails then it will forcefully eject the cdrom.
Make sure that you have your cdrom device linked to /dev/cdrom, check with:
ls -l /dev/cdrom
if you get
/dev/cdrom -> /dev/hdd (or something) then it is ok
else create a symbolic link:
ln -sf /dev/hdd /dev/cdrom (or)
ln -sf /dev/hdc /dev/cdrom
just save the eject.desktop file on your desktop or add to your menu. just click it to eject your cdrom (normally else forcefully)!
· cdrecord (for forced ejection) and/or eject (for normal ejection of cdrom)
Load/Unload or insert/eject cdrom script:
# cdrom load/unload script
if [ -e ~/.cdmounted ];
echo loaded or cdmounted trying to eject &&
eject && echo trying to eject normally &&
rm ~/.cdmounted && exit ||
echo normal ejection failed, trying forced eject &&
cdrecord -eject dev=/dev/cdrom &&
rm ~/.cdmounted && exit ;
else cdrecord -load dev=/dev/cdrom &&