Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 56932

Summary: updatedb on a laptop
Product: Gentoo Linux Reporter: Fabien Fivaz <fabien.fivaz>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Fabien Fivaz 2004-07-13 10:55:43 UTC
Could it be possible that updatedb does not start at every launch of the system. My question could seem strange, but on a laptop, it consumes a lot of power to update the database every launch when working on batteries. There's maybe already a way to run updatedb manualy and not automagically.
Comment 1 Patrick Borjesson 2004-07-13 12:41:03 UTC
updatedb (as a part of slocate) is made to run as a cronjob by default. Remove slocate from /etc/cron.daily/ and it won't run at every launch. To run it manually you just run "updatedb"
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2004-07-13 17:02:10 UTC
see what Patrick said.