26 Feb
2012
26 Feb
'12
1:16 p.m.
On Sun, Feb 26, 2012 at 11:49:55AM +0000, Andrea Crotti wrote:
It's a bit a shame that there isn't any default good indexing system for Linux. Now there is also a inotify implementation and tools to set up watchers on the filesystem, so why are we still mainly stuck with locate and the expensive updatedb?
Are there other problems with the inotify approach maybe or just lack of developer interest?
One problem with inotify is that it, AFAIK, requires adding each and every directory separately to the inotify watch, which just doesn't work with the entire /home, much less /. Fanotify can watch entire trees easily, but is a root-only API for now. -- Mantas Mikulėnas <grawity@gmail.com>