seth vidal wrote:
I know I use locate several times a week to find things, both system
files and things lost in the rats nest I call a home directory. Yes the
rebuild of the database is annoying on either a laptop OR on a large
server, but that just means a way needs to be found to maintain the
database in a way that is less stressful to the system.
and while you go work out the way to maintain the database, I will
gladly take a disabled updatedb, though to be sure I run: rpm -e slocate
and prelink ?
# du / -sh
215G /
# time /etc/cron.daily/prelink
real 6m20.185s
user 4m17.957s
sys 0m21.508s
# time updatedb
real 3m49.620s
user 0m5.225s
sys 0m17.392s
locate vs find (vs whereis vs which)
# time locate sethvidal
/data2/doku/fedora/sethvidal
real 0m0.551s
user 0m0.386s
sys 0m0.073s
# time find / -name sethvidal
/data2/doku/fedora/sethvidal
real 0m25.137s
user 0m2.336s
sys 0m4.181s
--
shrek-m