Can the older dnotify do what you want? - it monitors files differently to inotify. There is also gammin/fam.
BillK On Wed, 2010-05-05 at 16:24 +0930, Iain Buchanan wrote: > Hi, > > 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. When a file is changed (ie. a write operation occurs), I > then want to add that file or fd to a list in RAM. That's all. > > I know this may be a lot of data, considering streams and devices, but I > can filter out /dev, /proc, etc. and just focus on "real" files. > > Is there anything that can do this? > > thanks :)