Discussion Locked

Open Cdrom, from command prompt

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi.
I have redhat 7.0
How do you open the cdrom tray from the command prompt.
Say I am in root. I have mounted the cdrom, and used it. When I press the button on the computer frame it does not open. So how can I open it from the command prompt???
Also, what command would you use to close it.
Thanks,,,,,,,,,,,Pat

5 replies

by tyrann

Just do:
# eject

If you have several CD drive, you can specify the unit, see eject(1).

by marshallkeithusa

If you use umount your button will work fine.
However if you have anything open on the cdrom like gmc it will not umount untill you close the program.

This discussion is closed to new replies.