On Sat, 19 Jan 2002, monkeyiq wrote:
> Christian Kreibich <kreibich@xxxxxxxxxxxxxxxxxxxxxxxxx> writes:
>
> >
> > I still haven't tried the new versions of fam that use dnotify, so you
> > don't need imon any more. If they work well, it's definitely the way to
> > go.
>
> I have the fam rpms from rawhide,
> fam-devel-2.6.7-4
> fam-2.6.7-4
> and there is still an outstanding bug (from what I can tell) using
> dnotify where it doesn't send a FAMEndExist for reading an empty dir.
>
> so apps waiting for this FAMEndExist event seem to "hang" but are just
> idle waiting for an event that will never come. IIRC a FAMEndExist
> is fired when using imon/polling to read an empty dir.
Are you sure? I don't see that:
bash-2.05$ mkdir /tmp/foo
bash-2.05$ ~/bin/fam_test -d /tmp/foo
FAMMonitorDirectory("/tmp/foo")
FAMMonitorDirectory("/tmp/foo")
DIR /tmp/foo: /tmp/foo Exists
DIR /tmp/foo: /tmp/foo EndExist
/ Alex
--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx
|