From owner-freebsd-questions@FreeBSD.ORG Sat Mar 12 16:26:21 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 38D70106566C for ; Sat, 12 Mar 2011 16:26:21 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0CB158FC16 for ; Sat, 12 Mar 2011 16:26:20 +0000 (UTC) Received: by iyj12 with SMTP id 12so4311075iyj.13 for ; Sat, 12 Mar 2011 08:26:20 -0800 (PST) Received: by 10.43.71.73 with SMTP id yj9mr4970523icb.484.1299947180060; Sat, 12 Mar 2011 08:26:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.144.202 with HTTP; Sat, 12 Mar 2011 08:26:00 -0800 (PST) In-Reply-To: <20110312080706.2d98afb6@dell64> References: <20110312080706.2d98afb6@dell64> From: Chris Brennan Date: Sat, 12 Mar 2011 11:26:00 -0500 Message-ID: To: Robert Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:26:21 -0000 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. -- Did you know... If you play a Windows 2000 CD backwards, you hear satanic messages, but what's worse is when you play it forward.... ...it installs Windows 2000 -- Alfred Perlstein on chat at freebsd.org