Re: updating question...
On Thu, Apr 14, 2011 at 03:35:10PM +0100, Darac Marjal wrote:
> It sounds to me like your locate package has been upgraded to mlocate.
> As per the package status of mlocate, mlocate differs from plain locate
> in that when you run "locate foo" you only see files to which you have
> access. Also instead of re-reading the whole filesystem, timestamps are
> taken into account and only changed files are recorded in the database.
> As a result updatedb is, as you have found, a lot faster.
Interesting. I wonder how it manages to find the changed files without
reading the entire directory tree? It shouldn't have to read the files
themselves in any case, should it?