[NTLUG:Discuss] umount: /mnt/cdrom/: device is busy

kbrannen@gte.net kbrannen at gte.net
Tue Sep 10 01:19:08 CDT 2002


falconjetflyer at netscape.net wrote:
> Many time I after mount and using a cdrom when I try to unmount I get an 
> error message as in the subject.   
> 
> I closed all programs and navigators before umounting.  
> 
> How do I find out why it is busy?

Try doing a "ps -ef" and find the process that is "using" it.  It may be a 
shell and so hard to find.  A perhaps easier way is to use "lsof", check its 
man page; e.g. "lsof /mnt/cdrom", assuming it's mounted at /mnt/cdrom.

> How do I release the device so it will umount?

You need to have no processes accessing the device, i.e. either using a file 
on it, or no processes that have it (or a sub-dir) as its current working dir.

HTH,
Kevin





More information about the Discuss mailing list