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"


Reply via email to