On 5 May 2010, at 07:54, Iain Buchanan wrote:
...
I'm looking for some kernel-based notification of changes to my file
system. I've been looking at inotify, but it's not exactly what I
want.
Basically I want to know if _any_ write occurs anywhere. I don't want
to register a whole bunch of files to watch, I just want to watch an
entire mount.
man inotify(7):
... When a directory is monitored, inotify will return events for the
directory itself, and for files inside the directory.
Am I missing something?
This article was posted to a different froup recently:
http://www.ibm.com/developerworks/linux/library/l-inotify/index.html
It looks interesting.
Stroller.