Thus, we simply have locate.updatedb traverse the useful directory paths. This also saves some disk activity, since there's no need to go through 4G's of user files.
$ diff /usr/libexec/locate.updatedb /usr/libexec/locate.updatedb.0rig
40,41c40
< # Default was "/" - olt 970305
< set SRCHPATHS = "/bin /usr /etc /sbin" # directories to be put in the database
---
> set SRCHPATHS = "/" # directories to be put in the database
61,65c60
< # Don't search through "src", "obj", or "work" directories. olt 19980613
< # find ${SRCHPATHS} \! -fstype local -prune -or -print | \
< find ${SRCHPATHS} \
< \! \( -type d \( -name src -or -name obj -or -name work \) -prune \) \
< \! -fstype local -prune -or -print | \
---
> find ${SRCHPATHS} \! -fstype local -prune -or -print | \