Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2005 17:26:40 -0500
From:      Mikhail Teterin <mi+mx@aldan.algebra.com>
To:        Sergey Matveychuk <sem@freebsd.org>
Cc:        ports@freebsd.org, "Andrew P." <infofarmer@gmail.com>
Subject:   Re: watch for files
Message-ID:  <200511151726.40580.mi%2Bmx@aldan.algebra.com>

next in thread | raw e-mail | index | archive | help
=Is there an utility to watch files changes and make some defined 
=actions. Actions defined in a configuration file.

On the low level BSDs have kqueue. On the higher level there is the devel/fam 
port, which uses smart mechanisms on Linux and Irix, but resorts to 
inefficient polling everywhere else, including BSD.

An attempt to teach fam the benefits of kqueue exists at:

	http://sourceforge.net/projects/bsdfam

but appears to have stalled. If you have "milk and time", you best improve the 
devel/fam. If not, you can just the existing fam API and wait for someone 
else to make it BSD-aware and efficient.

	-mi

P.S. Andrew, please, stick to English on the international mailing lists.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511151726.40580.mi%2Bmx>