How do I program for Linux's new `fanotify` file system monitoring feature?

Viewed 18049

fanotify, built on top of fsnotify, is supposed to replace inotify which replaced dnotify. Are there some good programming examples or existing utilities that use fanotify to watch for changes in a filesystem? How much detail does fanotify provide?

3 Answers
Related