The updatedb command, as I understand it, is basically the utility that keeps the mlocate.db database file updated. And it's a good idea to keep it updated regularly.
For that matter, I've kept a daily cron to run the updatedb command. Now I'm looking under the hood, for the sake of understanding it better.
When I cat /etc/updatedb.conf I see a few options:
PURNE_BIND_MOUNTS
PRUNENAMES
PRUNESPATHS
PRUNEFS
These options, as I read the manpage and other sites, let updatedb know to skip scanning specific files or directories on the file system.
So, here's my question.
Why would we want to skip indexing anything at all?
Obviously there must be good moments for it.