LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cdrom problem (https://www.linuxquestions.org/questions/linux-newbie-8/cdrom-problem-218614/)

sorno 08-17-2004 12:57 AM

cdrom problem
 
i am using fedora 1, GNOME
if i insert a CD, then eject it, there is no problem
But if i insert it and do something, like unzip the file in it and extract to my home's folder, or simply copy some file to my home folder, it doenst let me to eject it. It said it is busy, but i think it is not. The only way i can eject it is to log off and login as root to eject it.
Is it any other solution or did i do something wrong?

tim1235 08-17-2004 01:06 AM

If you have any apps open that are accesing the cdrom it will not let you eject it (Even though the cd-rom may be idle).
Also are you just pressing the eject button or are you unmounting the device?

praveenv 08-17-2004 01:54 AM

Unmounting
 
Either floppy or cd after use one must unmount it ; otherwise it gives as device is busy error

masand 08-17-2004 02:44 AM

to unmount he cdrom
#umount /dev/cdrom

then press eject on ur cdrom drive
also eject works in some distro
#eject /dev/cdrom

or if u have a icon on ur desktop of ur CDROM then
right click on that
uinmount it and then remove the cd from the cdrom device


see to it that u are not using the CD whikle doing the above,else u will not be able to eject it
regards

sorno 08-18-2004 01:41 AM

i didnt say it clearly, i apologize for that.
i have tried to unmount it, but it said it is busy.
what i did to the cd is just unzip the file and extract to my harddisk.
after the process of unzip, i have tried eject or unmount, neither way let me to get back my cd...

jomen 08-18-2004 03:41 AM

If you unzipped something there you will eighter have done it via gui - by opening a window and then working in it /from it to unzip the file
or you may have done it by changing directory to somewhere on the cd - eighter command-line or a file manager...
if ANY of these windows are still active (open) - if in ANY xterm you still are inside the CD - than you cannot unmount the CD - because it really is busy - there is still something accessing it - even if you forgot about it.

to see who or what may prevent unmounting - you can use:

fuser -av -m /where-your-CD-is-mounted

this should return an empty list - else you cannot unmount...


All times are GMT -5. The time now is 10:43 PM.