Re: inotify and locate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxx>


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux