From owner-freebsd-questions@FreeBSD.ORG Sat Mar 12 16:33:23 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76667106564A for ; Sat, 12 Mar 2011 16:33:23 +0000 (UTC) (envelope-from traveling08@cox.net) Received: from fed1rmfepo203.cox.net (fed1rmfepo203.cox.net [68.230.241.148]) by mx1.freebsd.org (Postfix) with ESMTP id 4FD8A8FC0C for ; Sat, 12 Mar 2011 16:33:23 +0000 (UTC) Received: from fed1rmimpo01.cox.net ([70.169.32.71]) by fed1rmfepo203.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20110312163322.JMNP22406.fed1rmfepo203.cox.net@fed1rmimpo01.cox.net>; Sat, 12 Mar 2011 11:33:22 -0500 Received: from dell64 ([72.220.91.89]) by fed1rmimpo01.cox.net with bizsmtp id JGZL1g00u1vgiKs03GZNnS; Sat, 12 Mar 2011 11:33:22 -0500 X-VR-Score: -70.00 X-Authority-Analysis: v=1.1 cv=WtRarTlxVJ38pOpEoV/iO0An5zAk6Rp4dU44mOq+3B0= c=1 sm=1 a=kj9zAlcOel0A:10 a=oCktQfYhz6x+qcZZxX2gzg==:17 a=G0q-payyAAAA:8 a=kviXuzpPAAAA:8 a=7H2cQ70gt41AlTgEFdkA:9 a=CcNAMATt85hU35gQWzI-AiZjVYIA:4 a=CjuIK1q_8ugA:10 a=673AGJE-P7wA:10 a=4vB-4DCPJfMA:10 a=oCktQfYhz6x+qcZZxX2gzg==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Date: Sat, 12 Mar 2011 08:33:15 -0800 From: Robert To: Chris Brennan Message-ID: <20110312083315.5f452796@dell64> In-Reply-To: References: <20110312080706.2d98afb6@dell64> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: Unable to umount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2011 16:33:23 -0000 On Sat, 12 Mar 2011 11:26:00 -0500 Chris Brennan wrote: > On Sat, Mar 12, 2011 at 11:07 AM, Robert wrote: > > Greetings > > > > On two separate systems running 8.2 Stable updated yesterday, I am > > unable to umount any USB thumb drives after mounting. I have tried > > both Fat32 and UFS formatted drives. I have tried with and without > > HAL enabled. > > > > I am running with all ports up to date and the latest XFCE4. This > > problem started with the upgrade of XFCE4 and Xorg. Here is how it > > looks > > > > [robert@dell64] ~> mount_msdosfs /dev/da6s1 Flash > > [robert@dell64] ~> ls -l Flash > > total 128 > > drwxr-xr-x 1 robert robert 32768 Jan 21 18:18 Android > > drwxr-xr-x 1 robert robert 32768 Jan 6 1980 LOST.DIR > > drwxr-xr-x 1 robert robert 32768 Jan 21 17:36 rosie_scroll > > drwxr-xr-x 1 robert robert 32768 Jan 21 16:53 rssreader > > [robert@dell64] ~> umount Flash > > umount: unmount of /home/robert/Flash failed: Device busy > > [robert@dell64] ~> umount /dev/da6s1 > > umount: unmount of /home/robert/Flash failed: Device busy > > > > If I log out of XFCE4 to the CLI, I can then umount normally. > > > > Is anyone else seeing this? > > > > TIA > > > > > Are you on the drive or do you have files open from the flash drive? > Try this: > > lsof /home/robert/Flash > > or > > lsof /dev/da6s1 > > It will tell you what files are using the device, you should close > all files before unmounting as well as making sure your not > in /home/robert/Flash/ or some subdir of ~/Flash. > Chris Thank you for the reply. As shown above, I mounted the drive and then tried to umount the drive. I did not access it other than the "ls" command. [robert@dell64] ~> lsof Flash [robert@dell64] ~> lsof /dev/da6s1 [robert@dell64] ~> [robert@dell64] ~> umount Flash umount: unmount of /home/robert/Flash failed: Device busy [robert@dell64] ~> umount /dev/da6s1 umount: unmount of /home/robert/Flash failed: Device busy [robert@dell64] ~>