On Sun, 27 Feb 2000, Ryan McBride generated:
>Has anyone had anyproblem with cdrom drives?? i mount my drive with a cd in
>it, but i cant change the cd with out rebooting the drive, once i mount the
>drive you cant open the door?? any ideas?? I cant unmount the drive as it
>says the resource is busy
What model.. is it an ATAPI cdrom drive, or does it plug into a
soundcard or special card? I remember with my old Matsushita 2x drive,
it would occasionally lock up.. this may be due to the state of the
drivers for it.
If the problem is that the mounted filesystem is being used, try
fuser(1) to see what processes are using it:
# fuser -vm /mnt/cdrom
some process list
# fuser -v /dev/cdrom
some processes again
The -m flag tells fuser that it is looking at a mounted filesystem, not
a device.
If you are feeling particularly menacing, use the -k flag, which will
send a SIGTERM to each process using the device. Or a SIGKILL, I forget
which... read the manpage for more ;)
--
jamesw
"A 32 bit extension and graphical shell for a 16 bit patch to an 8 bit
operating system originally coded for a 4 bit microprocessor, written by a
2 bit company that can't stand 1 bit of competition."
"What is Windows 95?"
------------------------------
[EMAIL PROTECTED]
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text