DragonFly BSD
DragonFly users List (threaded) for 2004-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: a little (folish?) idea


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Wed, 15 Sep 2004 14:29:39 +0200

On Tue, 14 Sep 2004 21:27:20 +0200, Martin P. Hellwig wrote:
> Thank you for your reply/time, I wonder if there would be a other more 
> elegant way to notify a program when a certain (text)file is changed. 
> Doing it the way that it happens immediately but without burden on the 
> system, or is this a technical paradox?

You can use kqueue for this, it provides a low level engine to implement
e.g. devel/fam. It still requires that you have a list of all files you
want to be informed about and likely also the directories. The later might
change in the future by allowing you to capture namespace changes.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]