[chromium-dev] Re: recursive directory watcher on linux.

2009-06-03 Thread Paweł Hajdan Jr .
Looks like it's not that simple. Nobody responded. :-/ I analyzed inotify-tools source and they do everything on paths. Of course that means a lot of careful updating etc, but should work in lack of more elegant solution. Paweł On Sun, May 24, 2009 at 20:47, j.din...@gmail.com

[chromium-dev] Re: recursive directory watcher on linux.

2009-06-03 Thread Stefan Nuxoll
inotify is a piece of crap, you can only monitor a directory, from that you have to reread the listing and see what's changed for yourself. 2009/6/3 Paweł Hajdan Jr. phajdan...@chromium.org: Looks like it's not that simple. Nobody responded. :-/ I analyzed inotify-tools source and they do

[chromium-dev] Re: recursive directory watcher on linux.

2009-06-03 Thread Stefan Nuxoll
Since we're using GTK for the Linux port would there be any reason not to use FAM (File Alteration Monitor) which supports things like this? Yet another dependency for users of other DE's, but most of them probably won't use chromium due to GTK anyway. 2009/6/3 Dan Kegel

[chromium-dev] Re: recursive directory watcher on linux.

2009-06-03 Thread Stefan Nuxoll
There is a rewrite (or cleaned up version, I'm not sure) maintained by GNOME called gamin. 2009/6/3 Dan Kegel daniel.r.ke...@gmail.com: FAM is pretty old, and didn't have a sterling reputation for scalability. inotify would probably be better. (The FAM mailing list at SGI appears to be

[chromium-dev] Re: recursive directory watcher on linux.

2009-06-03 Thread Dan Kegel
FAM is pretty old, and didn't have a sterling reputation for scalability. inotify would probably be better. (The FAM mailing list at SGI appears to be dead...?) On Wed, Jun 3, 2009 at 10:56 AM, Stefan Nuxoll ste...@nuxoll.eu.org wrote: Since we're using GTK for the Linux port would there be any

[chromium-dev] Re: recursive directory watcher on linux.

2009-06-03 Thread Dan Kegel
gamin is probably closer to usable, but I'm a bit nervous about depending on it. It looks like the JDS guys found a performance bug last year http://mail.opensolaris.org/pipermail/jds-review/2008-March/002295.html but no new release of gamin has appeared in

[chromium-dev] Re: recursive directory watcher on linux.

2009-06-03 Thread Stefan Nuxoll
Mmm, the last commit was at 2008-10-20. So it does unfortunately look like using inotify would be for the best. 2009/6/3 Dan Kegel daniel.r.ke...@gmail.com gamin is probably closer to usable, but I'm a bit nervous about depending on it. It looks like the JDS guys found a performance bug