From owner-freebsd-stable@FreeBSD.ORG Mon May 5 17:42:37 2014 Return-Path: <owner-freebsd-stable@FreeBSD.ORG> Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 007635BA for <freebsd-stable@freebsd.org>; Mon, 5 May 2014 17:42:36 +0000 (UTC) Received: from mail.in-addr.com (noop.in-addr.com [208.58.23.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C07E4A25 for <freebsd-stable@freebsd.org>; Mon, 5 May 2014 17:42:36 +0000 (UTC) Received: from gjp by mail.in-addr.com with local (Exim 4.80.1 (FreeBSD)) (envelope-from <gpalmer@freebsd.org>) id 1WhML1-000NeD-Jr; Mon, 05 May 2014 13:05:59 -0400 Date: Mon, 5 May 2014 13:05:59 -0400 From: Gary Palmer <gpalmer@freebsd.org> To: Kevin Oberman <rkoberman@gmail.com> Subject: Re: another busy mount point Message-ID: <20140505170559.GA56618@in-addr.com> References: <20140505133034.1e2e4e83289130872f1fac9c@mimar.rs> <CAM0+4zBC-cft4OJM0vLWe-PLo3bTZnLkq5_SFHQbatfnkMeCGw@mail.gmail.com> <20140505135734.abf9e688c8d5f10ae4b120cb@mimar.rs> <CAM0+4zCjcRJos+S1Tw2aFHngfokA48KsHdO8+B=2BbHSXioO5g@mail.gmail.com> <20140505142514.c2aac6c0ac3d882af10e82b9@mimar.rs> <2d1f3e9b8635cbac129ad943b9889193.authenticated@ultimatedns.net> <CAN6yY1spqonPf=3jf9A3fgw4EQKHHGBuXPLhS7UXdWr2xavARQ@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <CAN6yY1spqonPf=3jf9A3fgw4EQKHHGBuXPLhS7UXdWr2xavARQ@mail.gmail.com> X-SA-Exim-Connect-IP: <locally generated> X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on mail.in-addr.com); SAEximRunCond expanded to false Cc: FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>, Carlos <decvt100@gmail.com>, Chris H <bsd-lists@bsdforge.com> X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/> List-Post: <mailto:freebsd-stable@freebsd.org> List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 05 May 2014 17:42:37 -0000 On Mon, May 05, 2014 at 09:21:45AM -0700, Kevin Oberman wrote: > 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. fuser is not related to fuse, it is a part of POSIX. > > 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 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >