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