watch for files
Mikhail Teterin
mi+mx at aldan.algebra.com
Tue Nov 15 14:31:24 PST 2005
=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.
More information about the freebsd-ports
mailing list