updatedb suspiciously fast
Knapp
magick.crow at gmail.com
Thu Sep 4 06:21:39 UTC 2008
On Thu, Sep 4, 2008 at 7:46 AM, P Kapat <kap4lin at gmail.com> wrote:
> On Thu, Sep 4, 2008 at 12:42 AM, Dexter Filmore <Dexter.Filmore at gmx.de> wrote:
>> I noticed after moving from debian to hardy that updatedb is surprisingly
>> fast, speaking of a manner of seconds rather than a minute or two.
>>
>> How does that work?
>
> AFAIK, updatedb does not index the $HOME files, so what I do is this:
> Run a cronjob with
>
> /usr/bin/updatedb -l 0 -U /home/$USER -o /home/$USER/.mlocate.db
>
> where,
> alias mlocate="locate -d ~/.mlocate.db"
>
> Sorry, I guess I did not answer your question !!
> --
> Regards
> PK
> --------------------------------------
> http://counter.li.org #402424
I don't know this but it seems faster here too. Perhaps they improved
the indexer to not index stuff that was done before but only the new
stuff?
--
Douglas E Knapp
http://sf-journey-creations.wikispot.org/Front_Page
More information about the kubuntu-users
mailing list