How to exclude directories from gamin?

Joe Marcus Clarke marcus at freebsd.org
Wed Apr 15 20:28:07 UTC 2009


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 at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome


More information about the freebsd-gnome mailing list