From owner-freebsd-ports@FreeBSD.ORG Wed Nov 16 10:48:57 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 67F9516A41F for ; Wed, 16 Nov 2005 10:48:57 +0000 (GMT) (envelope-from barner@gmx.de) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 1FB2E43D5D for ; Wed, 16 Nov 2005 10:48:55 +0000 (GMT) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 16 Nov 2005 10:48:54 -0000 Received: from unknown (EHLO zi025.glhnet.mhn.de) [129.187.19.157] by mail.gmx.net (mp019) with SMTP; 16 Nov 2005 11:48:54 +0100 X-Authenticated: #147403 Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id 8F54CC13A; Wed, 16 Nov 2005 11:48:53 +0100 (CET) Date: Wed, 16 Nov 2005 11:48:53 +0100 From: Simon Barner To: Mikhail Teterin Message-ID: <20051116104853.GE6251@zi025.glhnet.mhn.de> References: <200511151726.40580.mi+mx@aldan.algebra.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KdquIMZPjGJQvRdI" Content-Disposition: inline In-Reply-To: <200511151726.40580.mi+mx@aldan.algebra.com> User-Agent: Mutt/1.5.10i X-Y-GMX-Trusted: 0 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: Wed, 16 Nov 2005 10:48:57 -0000 --KdquIMZPjGJQvRdI Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. devel/gamin is a (well, partial) drop-in replacement for fam that makes use of kqueue(2). From my experience, it works nicely with GNOME and KDE. --=20 Best regards / Viele Gr=FC=DFe, barner@FreeBSD.= org Simon Barner barner@gmx.de --KdquIMZPjGJQvRdI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDew6VCkn+/eutqCoRAitiAKDB9TMlkkRr5QXgGNgTmeBbpS3KAACg4YhM fInbC5dQxNMdSxI64zBiMn8= =uB5P -----END PGP SIGNATURE----- --KdquIMZPjGJQvRdI--