PDA

View Full Version : Cant umount cdrom



alfredoj69
04-23-2004, 02:48 PM
Hi everybody

I have this "funny" problem with my cdrom. I can mount and view any cd but when I try to umount the cd from the cdrom, I keep getting "Device Resouce busy"

I have tried as root the following:

umount cdrom
umount /cdrom
umount -f /cdrom
umount -n /cdrom

I have the same result "device is busy" for all of this commands

bamarob
04-23-2004, 04:43 PM
Did you change directory to the cdrom? I know it sounds obvious, but I've tried it before. You can't umount the cdrom if you've cd'ed into it's directory structure. As root, try
cd /
umount /dev/cdrom


Hope this helps,

BR

alfredoj69
04-23-2004, 05:14 PM
BR, thanks for your response. However, I have tried to change directory and issued the command from root directory (/) with the same result "Device Busy"

Any other idea, anybody?

Alfredo

mzilikazi
04-23-2004, 06:38 PM
Someting still has the cdrom directory open. If you have a file manager open or an app that is accessing the cdrom drive it won't umount.

Try this:

mount

Where is the drive mounted? Should be on /cdrom but you never know. You can umount the device itself or the mount point.

umount /cdrom

umount /dev/cdrom

umount /dev/hdb

OErjan
04-23-2004, 06:41 PM
shut any app that might use/view/access files on the hdd. konqueror...

alfredoj69
04-23-2004, 07:51 PM
ok, I issued the comand "mount" and I get the following:

"/dev/cdrom on /cdrom type iso9660 (ro,noexec,nosuid,nodev,nohide)"

Also, on my gnome desktop there is a cdrom icon with the name of my cd

I tried the command you mention but again the same result "device busy"


more ideas?

Thanks

JamesLaRue
04-25-2004, 04:32 AM
Try the "lazy" command: umount -l /cdrom (that's an "el" not a "one")