Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Apr 2009 16:28:07 -0400
From:      Joe Marcus Clarke <marcus@freebsd.org>
To:        Mike Harding <mvh@ix.netcom.com>
Cc:        gnome@freebsd.org
Subject:   Re: How to exclude directories from gamin?
Message-ID:  <49E64357.9040308@freebsd.org>
In-Reply-To: <20090415191311.A9D23189A4@bsd.mvh>
References:  <KI5KC1$A90C2000AAB5B163E5A67E4CFBDD18E3@libero.it> <20090415191311.A9D23189A4@bsd.mvh>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Harding wrote:
> That page (http://www.gnome.org/~veillard/gamin/config.html) doesn't
> tell how to exclude directories, only how to select polling or
> notification.  Grrr!

The secret is to use polling on paths you don't want to lock.  The
problem with FreeBSD's kqueue system is that it requires the
file/directory to be open in order to monitor it.  If you disable kernel
notification for certain paths, and opt for polling, then the files do
not need to be opened, and thus they will not prevent umount from working.

Joe


-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome



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