-
Cant umount cdrom
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
-
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
Code:
cd /
umount /dev/cdrom
Hope this helps,
BR
-
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
-
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
-
shut any app that might use/view/access files on the hdd. konqueror...
-
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
-
Try the "lazy" command: umount -l /cdrom (that's an "el" not a "one")