[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: inotify, etc

From: David Glasser <glasser_at_davidglasser.net>
Date: Mon, 27 Oct 2008 22:38:39 -0700

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.