From owner-freebsd-gnome@FreeBSD.ORG Thu Jul 17 06:34:31 2008 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 121CE1065671 for ; Thu, 17 Jul 2008 06:34:31 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ipmail05.adl2.internode.on.net (ipmail05.adl2.internode.on.net [203.16.214.145]) by mx1.freebsd.org (Postfix) with ESMTP id 8213C8FC1F for ; Thu, 17 Jul 2008 06:34:30 +0000 (UTC) (envelope-from ws@au.dyndns.ws) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIAAHdbfkiWZWdv/2dsb2JhbAAIsDw X-IronPort-AV: E=Sophos;i="4.31,201,1215354600"; d="scan'208";a="161853951" Received: from ppp103-111.static.internode.on.net (HELO [192.168.1.157]) ([150.101.103.111]) by ipmail05.adl2.internode.on.net with ESMTP; 17 Jul 2008 15:49:14 +0930 From: Wayne Sierke To: Joe Marcus Clarke In-Reply-To: <1215634580.96637.51.camel@shumai.marcuscom.com> References: <7daacbbe0806250602m67ea3734o38e38b0460547e69@mail.gmail.com> <1214677131.86194.3.camel@shumai.marcuscom.com> <7daacbbe0807091258s5248ff86kcc61149c0dac8c0d@mail.gmail.com> <1215634580.96637.51.camel@shumai.marcuscom.com> Content-Type: text/plain Date: Thu, 17 Jul 2008 15:49:10 +0930 Message-Id: <1216275550.81342.65.camel@predator-ii.buffyverse> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: FreeBSD GNOME Users Subject: Re: Unable to umount removable media: device busy X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2008 06:34:31 -0000 On Wed, 2008-07-09 at 16:16 -0400, Joe Marcus Clarke wrote: > On Wed, 2008-07-09 at 21:58 +0200, Dominique Goncalves wrote: > > Thanks guys for your answers, > > > > On Sat, Jun 28, 2008 at 8:18 PM, Joe Marcus Clarke wrote: > > > On Wed, 2008-06-25 at 15:02 +0200, Dominique Goncalves wrote: > > >> Hi, > > >> > > >> I use at home a Gnome desktop on FreeBSD 6.3 (ports last updated > > >> before the devel/gettext update). > > >> When I plug my removable HDD (USB Maxtor, 500Go formatted with fat32 > > >> filesystem), it is auto mounted. But I can't umount my HDD, it fails > > >> with > > >> > > >> >> umount: unmout of /media/disk failed: Device busy > > >> > > >> I tried from the command line and right clicking the icon on the desktop. > > >> All applications are closed. > > >> What can I do to solve this problem? > > > > > > As others have said, this may be fam/gamin related. You could try > > > running lsof on your volume to see what is actually holding it open. > > > > It is indeed gam_server > > > > %fstat | grep media > > dom gam_server 1384 948 /media/disk 1649686560 drwx------ 65536 r > > > > How to tell gam_server to leave /media/disk ? > > The only way to do this to restart gam_server. Though I'm not sure who > is telling gamin to monitor this drive. I recently faced a similar issue - unable to unmount either of an msdosfs ata/hdd partition and an msdosfs usb/flash drive. I was able to unmount both after closing a nautilus browser window that was open on the Gnome desktop. I'm not sure why gam_server would still have been monitoring any files opened on those two mounts but from memory fstat showed a number of them. No folder from either of the two mounts was selected in the nautilus browser, although they likely had been earlier. Wayne