Leopard FSEvents

Download Appliction and Source Code 144Kb (27 October 2007)

Here is some sample code demonstrating how the new FSEvents API works in Leopard

Screenshot

On the plus side:

  • Each event has a unique ID
  • The events are stored on the disk in a log, i.e. in theory you can search and replay the events!

On the minus side:

  • It only really provides directory changed, and volume mount/unmount messages
  • It doesn't say when the event occurred, the ID simply implies an order
  • It will only provides events about directories the user has access to (security)

Meanwhile, the low-level fsevent support still does work in Leopard - and so fseventer will be updated soon has been updated (v2.1 14Jan08) to support this.

 
software/fseventer/leopard.txt · Last modified: 2008/05/18 17:05 (external edit)
©fernLightning 2008 Recent changes RSS feed Powered by PHP Made on a Mac Valid XHTML 1.0 Valid CSS Terms Of Use/Privacy/Credits