Once cd is in it won't umount or eject. This is crap.
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Once cd is in it won't umount or eject. This is crap.
Whenever I put in a cd I can take it out or umount it. It always says cd in drive is busy. What kind of crap is this. This has been happening on 2 different computers. I won't put it on any others if this is how it will be about cds. Any possible solution?
--EDIT--
I always make sure I have no terminal open with it browsing the /cdrom or a file manager, file managing it.
Last edited by RHLinuxGUY; 06-16-2005 at 05:09 PM.
I would guess that you have something accessing the drive.
You can use fuser (man fuser if you need to) to find out who or what is accessing the
drive. You can also use fuser -k /device to just kill the process using the drive. Maybe
not the best solution though.
You cannot unmount/eject a busy device. Period. I use KDE so the following might not apply to you @ you didn't mention your distro or desktop. I have experienced Konquerer keeping the device busy for a little while after I closed all the Konquerer windows. I have also experienced Konquerer stopping me from unmounting/ejecting a device even though I was not looking at the directory anymore. The cure has always been to close all Konquerer windows. Other programs might have the same behavior.
i had the same problem. eventually i just had to reboot the pc because it wouldn't spit out the damn cd. even doing ctrl-alt-bkspc did nothing to end whatever was accessing the drive.
If you do not have applications using or viewing the files on the drive it may be a problem with some sort of auto mounting. Not an uncommon problem. The usual solution is to disable that function and do manual mounts. I thought distros were getting better with this though.
Yea, I've noticed that debian-esq distro's do strange things with CD's sometimes. I find the following combo fixes most of them
Code:
umount /dev/cdrom
(do it with sudo if you really want to assert yourself)
and getting the cd out of the drive is as easy as using the command
Code:
eject
(again, try sudo if nothing else helps)
It's strange I know, I've learned to accept it since the apt package manager still makes ubuntu/debian much better than other distros (IMHO, of course).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.