Bug 90344 - sys-apps/slocate - updatedb.conf should exclude /root/.ccache
Bug#: 90344 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: minor Priority: P4
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: ibormuth@efil.de
Component: Core system
URL: 
Summary: sys-apps/slocate - updatedb.conf should exclude /root/.ccache
Keywords:  
Status Whiteboard: 
Opened: 2005-04-25 02:30 0000
Description:   Opened: 2005-04-25 02:30 0000
I just happened to realize that I have 7,000,000 files in a 2GB CCache.
That cache was indexed on a daily basis which took quite long.
After excluding /root/.ccache updatedb runs only a couple of seconds.

I think ccache is used quite frequently on gentoo systems.

BTW: It would be nice to have something like ~/.ccache and ~/.maildir etc. which excludes those directories in all homes. No idea how to do that (at least /*/.ccache did not work).

------- Comment #1 From Ciaran McCreesh 2005-08-05 13:45:15 0000 -------
I added /root/.ccache, no revbump. Currently slocate won't let you use
wildcards. Adding support wouldn't be too tricky, but that's for a different bug.