add mlocate/updatedb configuration: do not scan version control directories (.git, .svn ...)

This commit is contained in:
nodiscc
2020-03-07 14:04:50 +01:00
parent 250734c895
commit dc1b696be4

View File

@@ -0,0 +1,8 @@
# don't scan bind mounts
PRUNE_BIND_MOUNTS="yes"
# directory names (without paths) which should not be scanned by updatedb(8)
PRUNENAMES=".git .bzr .hg .svn"
# paths to directories which should not be scanned by updatedb(8)
PRUNEPATHS="/tmp /var/spool /media /var/lib/os-prober /var/lib/ceph"
# system types (as used in /etc/mtab) which should not be scanned by updatedb(8)
PRUNEFS="NFS nfs nfs4 rpc_pipefs afs binfmt_misc proc smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs devtmpfs fuse.mfs shfs sysfs cifs lustre tmpfs usbfs udf fuse.glusterfs fuse.sshfs curlftpfs ceph fuse.ceph fuse.rozofs"