FedoraThis forum is for the discussion of the Fedora Project.
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.
I have read some other posts about the cd not ejecting and they didn't seem to help me. My cdrom works fine and everything, but when its not in use, I can't eject it. It says:
umount: /mnt/cdrom: device is busy
eject: unmount of `/dev/cdrom' failed
and nothings busy! I can't eject the cd with the button on the player either. If you can help at all I apreciate it. Thanks.
i was logged in as root (i know, i know...), and i was trying to isntall a package from the fedora cd #1. it couldnt read the cd (yes, it was dirt- and scratch-free), and when i tried to eject it, i got the same error. Only cd it has happened to so far.
i rebooted, but it was still locked. i rebooted again, and ejected while booting fedora.
Do..
fuser -m -v /mnt/cdrom
That will tell you what's using the cd. If you just want to kill them all do
fuser -k -m /mnt/cdrom
And they will all be dead This as root of course. After that umount will work just fine.
Nopes, what happens is you have programs that are using the CD.
Unlike windows you can't just remove it, and leave those programs hanging. Partiailly because of how Linux also treats any normal disk drive too, and how it writes to them.
fuser -k -m <drive>
kills all the programs that are using that disk, then it can safely be unmounted.
Originally posted by techrolla are you saying this works in bash? Because on my fedora, bash doesn't recognize the fuser command. After switching the shell to csh it finds it.
fuser is in /sbin, which is not in the default path for bash. You can run it by using /sbin/fuser.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.