2008/10/27 Justin Erenkrantz <justin_at_erenkrantz.com>:
> On Mon, Oct 27, 2008 at 4:44 PM, Branko Èibej <brane_at_xbc.nu> wrote:
>>> I don't believe that FSEvents on Mac OS X 10.5 needs a daemon.
>>>
>>
>> It needs *something* to update the WC metadata. Call it daemon or
>> callback or trigger, same difference.
>
> AIUI, FSEvents is 'loggy' in that an app can request what has changed
> and, blammo, it gets all of the FS changes since its last request.
> Very nifty stuff and no daemon required... -- justin
Yeah. Basically, there is a kernel service that you can run
user-level daemons against to get fine-grained information just like
with inotify... *but* also the OS runs its own daemon that it does a
good job of keeping alive which writes summaries of the information
(basically, "which directories changed") to a log file and provides an
API to let applications get the summary information without having
their own daemon.
--dave
--
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/
Received on 2008-10-28 06:39:06 CET