[Freevo-devel] Re: Beacon and dupes

2006-04-16 Thread Dirk Meyer
Jason Tackaberry wrote: > On Fri, 2006-04-14 at 15:35 +0200, Dirk Meyer wrote: >> checks to prevent it. But maybe we should think about signals from >> inotifier: what do we need and what is not (I guess CREATE is not >> needed because of MODIFY). > > In my first implementation of inotify (when I u

Re: [Freevo-devel] Re: Beacon and dupes

2006-04-14 Thread Jason Tackaberry
On Fri, 2006-04-14 at 15:35 +0200, Dirk Meyer wrote: > checks to prevent it. But maybe we should think about signals from > inotifier: what do we need and what is not (I guess CREATE is not > needed because of MODIFY). In my first implementation of inotify (when I used ioctls) I had it eat the MOD

[Freevo-devel] Re: Beacon and dupes

2006-04-14 Thread Dirk Meyer
Jason Tackaberry wrote: > So, the new file is listed twice. Even when I exit the client and run > the query again: > > [EMAIL PROTECTED] ~]$ beacon --search keywords=foo > > > Query took 0.00483393669128 seconds Found it. Inotify sends two signals for a new file: CREATE and MODIFY. So in that c