LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   eject /mnt/cdrom yeilds error (https://www.linuxquestions.org/questions/linux-general-1/eject-mnt-cdrom-yeilds-error-9414/)

adamrau 11-29-2001 07:18 PM

eject /mnt/cdrom yeilds error
 
sometimes i cannot eject or umount my cdrom. Says its busy and its really not. I then have to reboot in order to get the cd out. Its there any way to force it to eject or umount.
Thanks
Adam

DMR 11-29-2001 07:40 PM

That will happen if you're still in the directory you are trying unmount (or a subdir, obviously). I've made that mistake more than once.

Thymox 11-30-2001 06:22 AM

If you use multiple desktops, then it's more than easy to forget that in one of them you have your filemanager open on the CD. Although, having said this, I have had instances where I could not eject my DVD. I was not in the current directory, I did not have any filemanagers open on the DVD. I was not running any programs accessing the DVD, and yet I was still getting 'device is busy' message. It would sort itself out after about 5 mins. Weird.

dorward 11-30-2001 06:28 AM

My favourite trick used to be...

Code:

mount /mnt/cdrom
cd /mnt/cdrom
su
rpm -Uvh newfile.rpm
cd
umount /mnt/cdrom

of course I'm still in /mnt/cdrom and if I type exit I go back to that session and can leave the directory.


All times are GMT -5. The time now is 09:23 AM.