Unable to umount removable media: device busy

Dominique Goncalves dominique.goncalves at gmail.com
Wed Jul 9 19:58:49 UTC 2008


Thanks guys for your answers,

On Sat, Jun 28, 2008 at 8:18 PM, Joe Marcus Clarke <marcus at marcuscom.com> 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 ?

>>
>> Another question about my HDD, when I shutdown my computer, my HDD is
>> still turned on. This is not the case with Windows XP.
>> How to turn off the HDD when I shutdown my computer?
>
> I don't see how this is GNOME or even FreeBSD-related.  If the computer
> is powered off, the peripherals should be shutoff unless the computer
> provides power through the USB ports even when the CPU is off.
>
> Maybe XP is sending some shutdown signal to the drive...

I'll see in the BIOS setting if I can find an option...

> Joe
>
> --
> PGP Key : http://www.marcuscom.com/pgp.asc
>

Regards.

-- 
There's this old saying: "Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life."


More information about the freebsd-gnome mailing list