Last Monday I submitted lot of changes into Strigi’s trunk. I’ve heavily refactored some classes in order to obtain a more flexible file system notification infrastructure.
Thanks to this work now it will be easier to add support for new file system notification facilities.
For example, in order to add File Alteration Monitor (aka FAM) support I had to write only 576 loc (including license and documentation stuff).
So, by now, Strigi supports the following file system monitoring facilities:
- polling: used when nothing else is available
- inotify: available only on linux platform with kernel >= 2.6.13
- FAM: available on most of the *nix systems, I recommend to use Gamin instead of FAM (most linux distributions already use it by default)















Entries (RSS)
Cool! How about using the ntfs changejournal on windows?
@ben
It can be added, my plan is to support as more file system monitoring facilities as possible.
Right now I’m planning to add support to Mac OSX’s native file system monitoring facility.
I’ll give a look also to ntfs changejournal
so now inotify is finally stable with strigi ???
@rudolph
Both FAM and inotify share the same base code and I consider it quite stable.
There’s just an edge case that doesn’t satisfy me: when the user changes the indexed directories in a short time. I’ll try to fix/improve it as soon as possible.
Btw, I recommend to use FAM instead of inotify. Read here to know why.