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?
views:
997answers:
1I just learned about fanotify and it seems very nice. Very nice interface!
It is not in the Linus tree yet but I guess it will get there for Linux 2.6.33 and before for testing (I noticed some patches today in LKML). In the original patch they announce a GIT tree thus you might be able to build a testing kernel from there. You might also find testing git trees.
I couldn't find utilities that use it but I guess they'll come soon.
There is an example here, at the end of the email:
http://lwn.net/Articles/339253/
If you are really interested in this new feature you might want to monitor the Linux Kernel Mailing List and interact there. You can also wait until the utilities are released or develop your own.
About the detail, it seems fanotify provides less events than inotify. I guess this might change in the future but since this is a brand new feature in development there is not much I can say about it now.