11-05-2008
Hmmm....
Ever tried the "cdeject" command to eject a cd? See the man page on how to use it.
Save for this (obvious) solution there might be several problems which could prevent a CD drive to eject its content:
1. CD is still mounted
If the filesystem on the medium is still mounted the drive won't eject it. Umount it first (man umount), then eject it.
2. Unable to umount
In case you already tried 1. and didn't succeed in umounting it (probably with a "device busy" error): search for processes still accessing the filesystem and kill them. Also often seen: if your current path is somewhere on the CD-ROM drive your own login shell is the process "accessing" the filesystem - do a "cd /somewhere/else" to remedy that, tehn umount again.
3. Hardware broken
Sometimes (very rarely, but it happens) the drives hardware is simply broken (or the drive been cut off from power) and it won't eject the medium therefore. Unbend a paper-clip (or use some similar device) and push into the tiny hole in front of the drive. This will unlock the spring inside and eject the drawer.
I hope this helps.
bakunin
5 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I'm using AIX and I'm looking for a command that can eject the tape. Any help is highly appreciated.
Regards,
BS (3 Replies)
Discussion started by: bbhavis
3 Replies
2. AIX
Now i have a prolem!
I double click on my zip file from cdrom.
System can not read my zip file and i can not eject my cdrom.
How can i manage process and can i end a process
or how can i eject my cdrom?
please have me! thanks (4 Replies)
Discussion started by: leenguyen0101
4 Replies
3. Solaris
The green cdrom light is blinking on our Sun Solaris server. I tried the eject command to eject cdrom:
eject cdrom
cdrom: No such file or directory
bash-2.05# eject
No default media available
bash-2.05# eject cdrom0
cdrom0: No such file or directory
The message log file shows:
Oct 19... (6 Replies)
Discussion started by: agarcia19
6 Replies
4. UNIX and Linux Applications
I am getting an error similar to this when I try to watch dvd's. Every program has a similar version of this.
unable to open the MRL 'dvd:///dev/dvd'For VLC I have found a way to fix it.
CD/DVD Drive not working VLC error (SOLVED) (Page 1) - Help & Support (Stable) - CrunchBang Linux Forums... (0 Replies)
Discussion started by: cokedude
0 Replies
5. AIX
Hello,
Running AIX 7.1 7100-00-03-1115, trying to make a mksysb image to a dvd drive using mkdvd. My final command looks like this..
mkdvd -e -V rootvg -R -C /usr1/AIXADMIN/mkcd/cd_fs -I /usr1/AIXADMIN/mkcd/cd_images -M /usr1/AIXADMIN/mkcd/mksysbimage -d /dev/cd0 -Y
When i run this... (3 Replies)
Discussion started by: c3rb3rus
3 Replies
LEARN ABOUT SUSE
halmount
halmount(1) User Commands halmount(1)
NAME
halmount - mount and umount filesystems via hal
SYNOPSIS
halmount [OPTIONS]... <device|label> [mountpoint]
halmount -u [OPTIONS]... <device|label|mountpoint>
halmount -e [OPTIONS]... <device|label|mountpoint>
DESCRIPTION
halmount can mount and umount filesystems via hal. Hotpluggable devices and media such as USB sticks and CD-ROMs are typically not entered
into /etc/fstab and are therefore not mountable by normal users via the mount(8) command. Instead hal provides methods to mount and umount
such devices.
Additionally it's also possible to eject devices. For devices like USB sticks eject means the device cannot be mounted again until the
stick is re-plugged, ie a "save remove" feature.
OPTIONS
-t TYPE
specify the file system type to use
-o OPTIONS
specify mount options
-v verbose listing of devices
-u umount specified device
-e umount and eject specified device
-a perform requested mount/umount/eject operation all available devices
--listudi
list UDIs of devices, useful for debugging
EXAMPLES
halmount
list all mountable devices known to hal
halmount /dev/hdc
mount device hdc on default mount point (/media/volumelabel)
halmount /dev/hdc cdrom
mount device hdc on /media/cdrom
halmount -u "Holiday Pictures"
umount device that has the label "Holiday Pictures"
SEE ALSO
mount(8), umount(8), eject(1), fstab(5)
SUSE Linux November 2006 halmount(1)