in reply to Virtual Filesystem,

http://oss.sgi.com/projects/fam/ fam, the File Alteration Monitor, provides a daemon and an API which applications can use to be notified when specific files or directories are changed.