Which command do you need to use to find out the process that is keeping the CD ROM busy?

Which command do you need to use to find out the process that is keeping the CD ROM busy?
Answer
You should use
the fuser command
. Eg. fuser /dev/cdrom will return the pid(s) of the process using /dev/cdrom . If you are trying to unmount, you can kill theses process using the -k switch (see man fuser ).
 

Tìm kiếm

Back
Top