[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: finding what is using a mount point



On Fri, 2003-11-21 at 11:06, Ken Gilmour wrote:
> Replying to the message sent by Micha Feigin  on Fri, 21 Nov 2003 
> 15:43:49 +0200, received at 16:06:15 on 21/11/2003. Micha Feigin wrote:
> >I mounted an image through a loop interface and now when I try to 
> unload
> >it I get a message:
> >umount: /home/micha/tmp: device is busy
> >I made sure no file is open from there but nothing helps.
> >How do I see what is using that mount point?
> 
> Maybe there is a swap file open of a file you were previously editing?

As root:

lsof | grep "/home.micha/tmp"

And you shall see the procs that are still there using the filesystem.
-- 
greg, greg@gregfolkert.net
REMEMBER ED CURRY! http://www.iwethey.org/ed_curry

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: