bash command for cdrom eject?
i know there is usually a bash command to do this
im in gentoo 2004.1 i was just wondering if theres a command for this because im trying to write a script. |
believe it or not its eject.
|
yea i tried that. for some reason it doesnt seem to be working.
go figure... |
Make sure the CD is not mounted. If it is, then neither the eject command or the eject button will work until you unmount the CD.
|
By default it will try to eject the symlink:
/dev/cdrom If you need to eject another drive use, for example: eject /dev/hdd |
'eject /dev/cdrom' should eject your cdrom. when mounted, it will try to umount first. for rejecting back, use '-t', i.e. 'eject -t /dev/cdrom'
|
All times are GMT -5. The time now is 05:23 AM. |