dell + drive door won't respond

micheal sundance at sundanceloki.com
Sun Jan 23 22:30:16 UTC 2005


On Sun, 2005-01-23 at 15:18 -0600, Gain Paolo Mureddu wrote:
>  How can you track down what process has locked the CD Rom 
> drive, when you have nothing opened showing its contents, nor a VT cd'ed 
> to it?!?!
> 

What I would use is the fuser command in /sbin.  More info can be found
by using man fuser or info fuser. The idea is this for a cdrom drive.

fuser -m /media/$MY_CD_ROM

This will list all associated PID that are accessing the file or file
system.

then an fuser -k -m /media/CDROM

will kill all the processes accessing the drive




More information about the users mailing list