Date: Wed, 16 Nov 2005 11:48:53 +0100 From: Simon Barner <barner@FreeBSD.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: <20051116104853.GE6251@zi025.glhnet.mhn.de> 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
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051116104853.GE6251>