FSEvents

FSEvents

The FSEvents framework in Mac OS X allows applications to register for notifications of changes to a given directory tree. [cite web|url=http://developer.apple.com/leopard/overview/osfoundations.html|title=Leopard Technology Series for Developers: OS Foundations|date=2007-10-26|accessdate=2008-08-21] Whenever the filesystem is changed, the kernel passes notifications via the special device file /dev/fsevents to a userspace process called fseventsd. This process combines multiple changes to a single directory tree that occur within a short period of time, then notifies applications that have registered for changes to the affected directory. [cite web|url= http://developer.apple.com/documentation/Darwin/Conceptual/FSEvents_ProgGuide/Introduction/chapter_2_section_1.html|title=File System Events Programming Guide|date=2008-03-11|accessdate=2008-08-21]

Unlike other methods for "watching" the filesystem, such as Linux's inotify, the FSEvents API provides no notifications for changes to individual files. An application may register to receive changes to a given directory, and must then determine for itself which file or files were changed.

ee also

* inotify
* File Alteration Monitor

References

External links

* [http://arstechnica.com/reviews/os/mac-os-x-10-5.ars/7 Mac OS X 10.5 Leopard: the Ars Technica review (page 7)]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • File alteration monitor — In computing, the File Alteration Monitor, also known as FAM and sgi fam, provides a subsystem developed by Silicon Graphics for Unix like operating systems. The FAM subsystem allows applications to watch certain files and be notified when they… …   Wikipedia

  • Mac OS X v10.5 — Infobox OS version name = Mac OS X v10.5 Leopard family = Imac logo size = 60px caption = Screenshot of Mac OS X v10.5 Leopard developer = Apple Inc. website = [http://www.apple.com/macosx/ www.apple.com/macosx/] source model = Closed source… …   Wikipedia

  • Inotify — is a Linux kernel subsystem that provides file system event notification. It was written by John McCutchan with help from Robert Love and later Amy Griffis to replace dnotify. It was included in the mainline kernel from release 2.6.13 (2005 06… …   Wikipedia

  • Mac OS X v10.5 — Leopard Desarrollador Apple Inc. MacOS X v10.5 …   Wikipedia Español

  • Mac OS X Leopard — Mac OS X v10.5 Leopard Part of the Mac OS X family …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”