Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 May 2014 09:21:45 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Chris H <bsd-lists@bsdforge.com>
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>, Carlos <decvt100@gmail.com>
Subject:   Re: another busy mount point
Message-ID:  <CAN6yY1spqonPf=3jf9A3fgw4EQKHHGBuXPLhS7UXdWr2xavARQ@mail.gmail.com>
In-Reply-To: <2d1f3e9b8635cbac129ad943b9889193.authenticated@ultimatedns.net>
References:  <20140505133034.1e2e4e83289130872f1fac9c@mimar.rs> <CAM0%2B4zBC-cft4OJM0vLWe-PLo3bTZnLkq5_SFHQbatfnkMeCGw@mail.gmail.com> <20140505135734.abf9e688c8d5f10ae4b120cb@mimar.rs> <CAM0%2B4zCjcRJos%2BS1Tw2aFHngfokA48KsHdO8%2BB=2BbHSXioO5g@mail.gmail.com> <20140505142514.c2aac6c0ac3d882af10e82b9@mimar.rs> <2d1f3e9b8635cbac129ad943b9889193.authenticated@ultimatedns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 5, 2014 at 7:18 AM, Chris H <bsd-lists@bsdforge.com> wrote:

> > On Mon, 5 May 2014 14:02:26 +0200
> > Carlos <decvt100@gmail.com> wrote:
> >
> >> These are the PID of the proccess that are using your mount point.
> >> With ps auxww | grep PID you can check which process they are.
> >
> > Thanx for pointing me in the right direction, however the command to
> > use is not:
> > fuser -c /dev/da5p2
> >
> > but:
> > fuser -c /usr/home/pacija/mnt
> >
> > The result I get is:
> > pacija@mephala:~ % fuser -c /usr/home/pacija/mnt/
> > /usr/home/pacija/mnt/:  1067
> >
> > And greping ps waux with this number gives me:
> > pacija@mephala:~ % sudo ps auxww | grep 1067
> > pacija     1067   0.0  0.1   65828    7360  -  I    12:58pm
> > 0:00.17 /usr/local/libexec/gvfsd-trash
> > --spawner :1.8 /org/gtk/gvfs/exec_spaw/0
> >
> > Killing the process allows me to unmount volume, so this kinda solves
> > my problem, thanx!
> >
> > Question remains what is this gvfsd-trash, what is it good for besides
> > preventing me from unmounting external USB drive, is it possible to
> > disable it without bad consequences?
>
> I believe the only consequence, is that you won't /necessarily/ get
> accurate info regarding the /contents/ of your trash [folder] --
> the icon won't display full/empty [possibly] correctly.
>
> An easier way to find the process holding on to the file system is "fstat
| grep mountpoint". It will provide both the PID and the command in a
single step. Also, it is not tied to fuse. Works for any file system.

gvfs-trash has been an issue with Gnome for some time and several patches
were made to nautilus to fix it. I believe that the problem there is now
fixed. At least I have not seen it for a while. Perhaps looking at the
history of nautilus could provide a clue as to how to fix caja. I'll be
moving to MATE very soon,so I may run into this, myself, soon.
-- 
R. Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1spqonPf=3jf9A3fgw4EQKHHGBuXPLhS7UXdWr2xavARQ>