From: Helmut Jarausch <jarausch@igpm.rwth-aachen.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] kernel notification of file system changes
Date: Wed, 05 May 2010 17:02:19 +0200 (CEST) [thread overview]
Message-ID: <tkrat.461e6f7e2c58ef0b@igpm.rwth-aachen.de> (raw)
In-Reply-To: <1273042474.20354.17.camel@localhost>
On 5 May, 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?
>
Might be I've just asked a similar question on the ZSH mailing list.
Please have a look at inotifywatch from the sys-fs/inotify-tools
package. It can watch a directory tree recursively.
I hope this helps,
Helmut.
next prev parent reply other threads:[~2010-05-05 15:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-05 6:54 [gentoo-user] kernel notification of file system changes Iain Buchanan
2010-05-05 7:12 ` Bill Kenworthy
2010-05-05 23:29 ` Iain Buchanan
2010-05-05 23:33 ` Volker Armin Hemmann
2010-05-05 23:51 ` Iain Buchanan
2010-05-05 23:59 ` Volker Armin Hemmann
2010-05-05 13:34 ` Stroller
2010-05-05 17:24 ` Florian Philipp
2010-05-05 17:35 ` Stroller
2010-05-05 23:51 ` Iain Buchanan
2010-05-06 14:22 ` Stroller
2010-05-05 15:02 ` Helmut Jarausch [this message]
2010-05-05 23:24 ` Iain Buchanan
2010-05-06 2:17 ` Iain Buchanan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tkrat.461e6f7e2c58ef0b@igpm.rwth-aachen.de \
--to=jarausch@igpm.rwth-aachen.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox