Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jun 2012 13:15:33 -0600
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        Warren Block <wblock@wonkity.com>
Cc:        Polytropon <freebsd@edvax.de>, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: umount     device busy
Message-ID:  <4FCD0955.6080801@dreamchaser.org>
In-Reply-To: <alpine.BSF.2.00.1206040809540.97869@wonkity.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
no man page and no docs in the /usr/local tree
Checked the port options for gamin itself and see there's a place to turn on the poller, to that should solve that problem.
But where does one learn about disabling specific directories or other info?

Thanks,

Gary



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