From owner-freebsd-ports@FreeBSD.ORG Tue Nov 15 22:39:06 2005 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB54016A41F; Tue, 15 Nov 2005 22:39:06 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88A6243D45; Tue, 15 Nov 2005 22:39:06 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 641AA1A3C26; Tue, 15 Nov 2005 14:39:06 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A9A4E51516; Tue, 15 Nov 2005 17:39:05 -0500 (EST) Date: Tue, 15 Nov 2005 17:39:05 -0500 From: Kris Kennaway To: Mikhail Teterin Message-ID: <20051115223905.GA64510@xor.obsecurity.org> References: <200511151726.40580.mi+mx@aldan.algebra.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline In-Reply-To: <200511151726.40580.mi+mx@aldan.algebra.com> User-Agent: Mutt/1.4.2.1i Cc: ports@freebsd.org, "Andrew P." , Sergey Matveychuk Subject: Re: watch for files X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 22:39:06 -0000 --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--