[arch-general] inotify and locate
Raven
drdarkraven at gmail.com
Sun Feb 26 07:18:30 EST 2012
On Sun, 26 Feb 2012 19:49:55 +0800, Andrea Crotti
<andrea.crotti.0 at gmail.com> 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?
Great idea, though I thought inotify doesn't suit this task. For updatedb,
it should call inotify_watch for every file on the filesystem, that's
quite inefficient.
I think Linux's audit system could do this, though.
More information about the arch-general
mailing list