Re: finding what is using a mount point
On Fri, 21 Nov 2003, Tyler Morgan wrote:
> On Fri, Nov 21, 2003 at 03:43:49PM +0200, 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?
> >
>
> You can try:
>
> lsof | egrep /home/micha/tmp
fuser -muv /home/micha/tmp
if something is using it, be sure to kill those apps correctly first
before unmounting what the system thinks is bz
c ya
alvin
>
> To try and figure out what exactly is using that directory.
>
> Or if it is a network share sometimes you have to use 'umount -f' to force
> it.
>
Reply to: