1 |
Can the older dnotify do what you want? - it monitors files differently |
2 |
to inotify. There is also gammin/fam. |
3 |
|
4 |
BillK |
5 |
|
6 |
|
7 |
On Wed, 2010-05-05 at 16:24 +0930, Iain Buchanan wrote: |
8 |
> Hi, |
9 |
> |
10 |
> I'm looking for some kernel-based notification of changes to my file |
11 |
> system. I've been looking at inotify, but it's not exactly what I want. |
12 |
> |
13 |
> Basically I want to know if _any_ write occurs anywhere. I don't want |
14 |
> to register a whole bunch of files to watch, I just want to watch an |
15 |
> entire mount. When a file is changed (ie. a write operation occurs), I |
16 |
> then want to add that file or fd to a list in RAM. That's all. |
17 |
> |
18 |
> I know this may be a lot of data, considering streams and devices, but I |
19 |
> can filter out /dev, /proc, etc. and just focus on "real" files. |
20 |
> |
21 |
> Is there anything that can do this? |
22 |
> |
23 |
> thanks :) |