watch for files

Kris Kennaway kris at obsecurity.org
Tue Nov 15 14:39:06 PST 2005


On Tue, Nov 15, 2005 at 05:26:40PM -0500, Mikhail Teterin wrote:
> =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.

The l0pht-watch port does this on a less generic level (it's intended
to watch for changes to a directory, and I think it can perform
actions when they occur).

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20051115/3740fcf0/attachment.bin


More information about the freebsd-ports mailing list