LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CD-ROM drive: DRAWER Lock (https://www.linuxquestions.org/questions/linux-newbie-8/cd-rom-drive-drawer-lock-81591/)

kajensen 08-13-2003 07:46 AM

CD-ROM drive: DRAWER Lock
 
Hi,
I'm configuring/troubleshooting RH sound. My cd-rom drawer will not respond to eject either manually or via (desktop) cd-rom player.
I need the proper format for a terminal eject command. This worked once before but I no longer have access to this solution.
After this is solved, what do I do about my unresponsive drawer? Is there a configuration step I'm missing or should I swap it out to see if it's a hardware problem?
THANKS! Kurt

MasterC 08-13-2003 08:33 AM

The command to eject a disc from the command line is:
eject

;)

You can optionally also umount it first:
umount /dev/cdrom
And then eject it manually, the thing is it has to be umounted before you can 'unlock' the drawer. eject does that all in full swoop, but that's the only thing I know of that does.

You have to make sure that nothing is accessing the drive at the time, and that no one in is the mounted directory. You can usually do that pretty easy on a single user system, but if you've got multiple people, drop back to init 1 and go from there:
telinit 1
And then run:
eject
As root of course.

Cool


All times are GMT -5. The time now is 08:05 PM.