Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] kernel notification of file system changes
Date: Wed, 05 May 2010 23:30:44
Message-Id: 1273102145.20354.25.camel@localhost
In Reply to: Re: [gentoo-user] kernel notification of file system changes by Bill Kenworthy
1 On Wed, 2010-05-05 at 15:12 +0800, Bill Kenworthy wrote:
2 > Can the older dnotify do what you want? - it monitors files differently
3 > to inotify. There is also gammin/fam.
4
5 dnotify locks the files or directories you want to watch, so it would
6 prevent external media from being unmounted. dnotify also uses a file
7 descripter per watched item, which could get interesting for large
8 amounts of watches!
9
10 I'm not sure about FAM, but Gamin uses inotify or dnotify anyway (in
11 Linux). I think they're all designed in a similar way: you have to
12 register a whole bunch of files or directories to watch.
13
14 thanks,
15 --
16 Iain Buchanan <iaindb at netspace dot net dot au>
17
18 He that is giddy thinks the world turns round.
19 -- William Shakespeare, "The Taming of the Shrew"

Replies

Subject Author
Re: [gentoo-user] kernel notification of file system changes Volker Armin Hemmann <volkerarmin@××××××××××.com>