Learn how to use inotify functions for a simple monitoring app. Download the sample code and Use inotify when you need efficient, fine-grained, asynchronous monitoring of Linux file system events. Use it for user-space monitoring for security, performance, or other purposes.
Monitor Linux File System Events with inotify
2010-04-16 Linux 5 Comments
So now a caller can monitor a subtree in Linux, in 2010. NT allowed this in 1993 (see FindFirstChangeNotification, extended in Windows 2000 by ReadDirectoryChanges.)
When will there be a persistent change log (eg FSCTL_READ_USN_JOURNAL)?