LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   CD/DVD unmounting (https://www.linuxquestions.org/questions/linux-hardware-18/cd-dvd-unmounting-296746/)

DaBlade 03-02-2005 11:36 AM

CD/DVD unmounting
 
I keep getting this problem with unmounting of CDs. When mounted, I can't unmount them. How do I unmount the disks without having to reboot to remove them? And is it possible to have it automounted, and autounmounted like on windoze?

masand 03-02-2005 11:45 AM

hi there

do u want to say that some process blocks u from unmounting ur cdrom??

run this

fuser -k /dev/cdrom

and
fuser -k <path hwere cdrom is mounted>

and u will free ur cdrom from any processes

regards

DaBlade 03-02-2005 11:58 AM

[root@DaBlade dablade]# /sbin/fuser -k /dev/hdd
[root@DaBlade dablade]# umount /dev/hdd
umount: /media/cdrecorder: device is busy
umount: /media/cdrecorder: device is busy
[root@DaBlade dablade]#

Didn't work... :(

masand 03-02-2005 12:32 PM

what about

fuser -k /mnt/cdrecorder

DaBlade 03-02-2005 12:38 PM

It's FC3, so it's /media, but it worked. Thank you. :D

[root@DaBlade dablade]# /sbin/fuser -k /media/cdrecorder
/media/cdrecorder: 7394
No automatic removal. Please use umount /media/cdrecorder
[root@DaBlade dablade]# umount /media/cdrecorder
[root@DaBlade dablade]# eject /media/cdrecorder
[root@DaBlade dablade]#

teckk 03-02-2005 02:35 PM

If you show an unmounted cdrom icon on the desktop then when you close all file directories or apps that are using the cd you can simply right click on the cd icon and choose eject. Your problem is probably that you are not closing all apps that are using the cd before you try to eject it. You can not eject a cd as long as Konqueror has the cdrom directory open for example. Close Konqueror or get out of that directory.

May not be what you were talking about but that is how I solved it.


All times are GMT -5. The time now is 02:15 PM.