From owner-freebsd-questions@FreeBSD.ORG Mon Jun 4 19:15:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B7BC01065670 for ; Mon, 4 Jun 2012 19:15:41 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (nightmare.dreamchaser.org [12.32.44.142]) by mx1.freebsd.org (Postfix) with ESMTP id 7B0198FC16 for ; Mon, 4 Jun 2012 19:15:41 +0000 (UTC) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [12.32.36.73]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id q54JFXTJ003055; Mon, 4 Jun 2012 13:15:34 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Message-ID: <4FCD0955.6080801@dreamchaser.org> Date: Mon, 04 Jun 2012 13:15:33 -0600 From: Gary Aitken User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120528 Thunderbird/12.0.1 MIME-Version: 1.0 To: Warren Block References: <4FCB7BBF.7090603@dreamchaser.org> <7581F5930C4F42B28B1E4A5162491B35@astrolap> <4FCC1D4C.2020503@dreamchaser.org> <20120604050537.f2df2af2.freebsd@edvax.de> <4FCC6A41.6030408@dreamchaser.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Mon, 04 Jun 2012 13:15:34 -0600 (MDT) Cc: Polytropon , FreeBSD Mailing List Subject: Re: umount device busy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@dreamchaser.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2012 19:15:41 -0000 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