Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2011 11:26:00 -0500
From:      Chris Brennan <xaero@xaerolimit.net>
To:        Robert <traveling08@cox.net>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Unable to umount
Message-ID:  <AANLkTinWrpyMSBNFSL-SUS23AsjVseNpt_biAcV4Bxnq@mail.gmail.com>
In-Reply-To: <20110312080706.2d98afb6@dell64>
References:  <20110312080706.2d98afb6@dell64>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 12, 2011 at 11:07 AM, Robert <traveling08@cox.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinWrpyMSBNFSL-SUS23AsjVseNpt_biAcV4Bxnq>