updatedb suspiciously fast
P Kapat
kap4lin at gmail.com
Thu Sep 4 05:46:19 UTC 2008
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
More information about the kubuntu-users
mailing list