Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] kernel notification of file system changes
Date: Wed, 05 May 2010 13:35:40
Message-Id: 07250F7A-39A9-4417-A0E8-CBCD4E8CDDC6@stellar.eclipse.co.uk
In Reply to: [gentoo-user] kernel notification of file system changes by Iain Buchanan
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.

Replies

Subject Author
Re: [gentoo-user] kernel notification of file system changes Florian Philipp <lists@××××××××××××××××××.net>