On Thu, Michael Pogue wrote: > See also Apple's Spotlight, which is similar to Linux's Beagle. I believe > that Windows-Next will also have this capability. So, yes, I think this > should be a primary use case for this new API. > > Mike > > John Levon wrote: > >On Wed, May 03, 2006 at 07:31:08PM -0700, Prakash Sangappa wrote: > > > > > >>If you where to watch for events on an entire directory tree, what types > >>of events that would be? > > > > > >Presumably there would be some way to specify, but file creation/deletion > >would > >be the most obviously useful events.
I would like to point out that the proposal for NFSv4's first minor version contains a directory delegation feature. Within that is a notification mechanism. The client is able to ask for asynchronous notifications on a directory (and the objects within it) for various events. Those events include things like: adding a file removing a file renameing a file attribute changes (for directory and objects within it) cookie verifier change (really an NFSv4 thing) The scope of a notification is just the directory and objects contained within it (not further down the tree). As mentioned, the events are asynchronous in the sense that the server will not delay operations just because it needs to notify a client of one of the above events. The client gets to ask for time granularity of the notifications. The server is not obliged to provide notifications (not supported or too many requests, etc.). Thought this would be helpful information for the discussion. Spencer _______________________________________________ perf-discuss mailing list perf-discuss@opensolaris.org