Unable to Eject a DVDROM
I am unable to eject a DVD from machine as it indicates it is in use by another program but I have no programs that I can see using it nor do I have that mount point open.
How can I force the umounting of my cdrom? Code:
cwilliams:~# umount /media/cdrom |
Does this show anything:
Code:
sudo lsof | grep /media/cdrom0 |
Quote:
Code:
cwilliams@cwilliams:~$ sudo lsof | grep /media/cdrom0 kill -9 21546? |
Yes, that should do it. You can accomplish the same thing with the fuser command:
# fuser -vm /dev/scd0 lists all processes accessing the device and: # fuser -km /dev/scd0 kills all processes accessing the device. Note, fuser will only work on the device file, not the mopunt point. |
Thanks for all your help!
|
All times are GMT -5. The time now is 11:55 PM. |