Add MVFS to file system exclusion list to prevent recursion in mlocate command

About this task

The mlocate command on Linux provides a form of indexed find. Just as you should prevent find from descending into the viewroot at /view, you should also prevent mlocate from doing so. You can accomplish this by issuing the mlocate command with the -f command line option and the mvfs file system type.

If the mlocate command is in /etc/cron.daily/mlocate.cron, this change is made for you during installation and logged in the installation log.

You can also edit the file /etc/updatedb.conf to add /view to the line that starts with PRUNEPATHS.