From: Iain Buchanan <iaindb@netspace.net.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] kernel notification of file system changes
Date: Thu, 06 May 2010 08:59:05 +0930 [thread overview]
Message-ID: <1273102145.20354.25.camel@localhost> (raw)
In-Reply-To: <1273043561.24807.40.camel@troll>
On Wed, 2010-05-05 at 15:12 +0800, Bill Kenworthy wrote:
> Can the older dnotify do what you want? - it monitors files differently
> to inotify. There is also gammin/fam.
dnotify locks the files or directories you want to watch, so it would
prevent external media from being unmounted. dnotify also uses a file
descripter per watched item, which could get interesting for large
amounts of watches!
I'm not sure about FAM, but Gamin uses inotify or dnotify anyway (in
Linux). I think they're all designed in a similar way: you have to
register a whole bunch of files or directories to watch.
thanks,
--
Iain Buchanan <iaindb at netspace dot net dot au>
He that is giddy thinks the world turns round.
-- William Shakespeare, "The Taming of the Shrew"
next prev parent reply other threads:[~2010-05-05 23:30 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 [this message]
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
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=1273102145.20354.25.camel@localhost \
--to=iaindb@netspace.net.au \
--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