7 Jul
2001
7 Jul
'01
16:45
Chris Large <clarge@macn.bc.ca> writes:
How can i umount a cdrom which keeps reporting it is busy? There is nothing that is accessing it.
In general, list all processes accessing the /dev/cdrom device and kill them. Beware of daemons. $ umount /dev/cdrom umount: /media/cdrom: device is busy $ lsof /dev/cdrom COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME bash 1065 malusek cwd DIR 22,0 4096 58084 /media/cdrom/suse less 1082 malusek 4r REG 22,0 373 58326 /media/cdrom/TRANS.TBL $ kill -9 1065 1082 $ umount /dev/cdrom $ -- Alexandr.Malusek@imv.liu.se