Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2012 13:58:30 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Gary Aitken <freebsd@dreamchaser.org>
Cc:        Polytropon <freebsd@edvax.de>, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: umount     device busy
Message-ID:  <alpine.BSF.2.00.1206041355060.945@wonkity.com>
In-Reply-To: <4FCD0955.6080801@dreamchaser.org>
References:  <4FCB7BBF.7090603@dreamchaser.org> <7581F5930C4F42B28B1E4A5162491B35@astrolap> <4FCC1D4C.2020503@dreamchaser.org> <20120604050537.f2df2af2.freebsd@edvax.de> <4FCC6A41.6030408@dreamchaser.org> <alpine.BSF.2.00.1206040809540.97869@wonkity.com> <4FCD0955.6080801@dreamchaser.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 4 Jun 2012, Gary Aitken wrote:

> On 06/04/12 08:15, Warren Block wrote:
>
>> gamin opens the directory (of the newly-mounted device) so it can check for new files being created or files being renamed, and then notify the window manager, which updates the user's desktop. The open makes the device in-use, preventing an unmount.
>>
>> Setting gamin to "poll" helps. (I assume it opens the directory, scans, then closes it again, so there's a race condition there, but I haven't encountered it.)
>>
>> gamin can also be disabled for certain directories. That works (AFAIR, it's been a while), but then you lose instant icon updates on the very directories where it is the most useful.
>
> Can you tell me where any of this is documented?
> I can't find squat about gamin.

Found on a google-quest after lsof or stat showed gamin locking the 
directory where I was mounting stuff:

http://people.gnome.org/~veillard/gamin/config.html



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