Date: Tue, 15 Nov 2005 17:39:05 -0500 From: Kris Kennaway <kris@obsecurity.org> To: Mikhail Teterin <mi+mx@aldan.algebra.com> Cc: ports@freebsd.org, "Andrew P." <infofarmer@gmail.com>, Sergey Matveychuk <sem@freebsd.org> Subject: Re: watch for files Message-ID: <20051115223905.GA64510@xor.obsecurity.org> In-Reply-To: <200511151726.40580.mi%2Bmx@aldan.algebra.com> References: <200511151726.40580.mi%2Bmx@aldan.algebra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 15, 2005 at 05:26:40PM -0500, Mikhail Teterin wrote: > =3DIs there an utility to watch files changes and make some defined=20 > =3Dactions. Actions defined in a configuration file. >=20 > On the low level BSDs have kqueue. On the higher level there is the devel= /fam=20 > port, which uses smart mechanisms on Linux and Irix, but resorts to=20 > inefficient polling everywhere else, including BSD. >=20 > An attempt to teach fam the benefits of kqueue exists at: >=20 > http://sourceforge.net/projects/bsdfam >=20 > but appears to have stalled. If you have "milk and time", you best improv= e the=20 > devel/fam. If not, you can just the existing fam API and wait for someone= =20 > 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 --5vNYLRcllDrimb99 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDemOJWry0BWjoQKURAr/sAKCHKuddItEJFg+TGxrUkNo8UaN20wCePZnK LPreAKgtb6RW1T5k6NoYr9A= =jdTb -----END PGP SIGNATURE----- --5vNYLRcllDrimb99--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051115223905.GA64510>