Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90344 - sys-apps/slocate - updatedb.conf should exclude /root/.ccache
Summary: sys-apps/slocate - updatedb.conf should exclude /root/.ccache
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: Low minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-25 02:30 UTC by Ingo Bormuth
Modified: 2005-08-05 13:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo Bormuth 2005-04-25 02:30:52 UTC
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 Ciaran McCreesh 2005-08-05 13:45:15 UTC
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.