umount refusing to unmount /dev/cdrom
Tim Writer
tim-s/rLXaiAEBtBDgjK7y7TUQ at public.gmane.org
Tue Jul 20 19:10:18 UTC 2004
"Martin Duclos" <tchitow-PkbjNfxxIARBDgjK7y7TUQ at public.gmane.org> writes:
> Hi Scott,
>
> I've had the same problem myself. Take a look at lsof as suggested and "lsof
> | grep for /mnt/cdrom".
While I agree that lsof is a great tool, fuser is simpler for this particular
job. For example:
fuser -m /mnt/cdrom
will list all PIDs using the filesystem mounted at /mnt/cdrom and
fuser -km /mnt/cdrom
will kill them.
--
tim writer <tim-s/rLXaiAEBtBDgjK7y7TUQ at public.gmane.org> starnix inc.
905.771.0017 ext. 225 thornhill, ontario, canada
http://www.starnix.com professional linux services & products
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list