Skip to content

Instantly share code, notes, and snippets.

@w0ng
Created September 22, 2012 16:14
Show Gist options
  • Save w0ng/3766646 to your computer and use it in GitHub Desktop.
Save w0ng/3766646 to your computer and use it in GitHub Desktop.
/etc/updatedb.conf
PRUNE_BIND_MOUNTS = "yes"
PRUNEFS = "9p afs anon_inodefs auto autofs bdev binfmt_misc cgroup cifs coda configfs cpuset cramfs debugfs devpts devtmpfs ecryptfs exofs ftpfs fuse fuse.encfs fuse.sshfs fusectl gfs gfs2 hugetlbfs inotifyfs iso9660 jffs2 lustre mqueue ncpfs nfs nfs4 nfsd pipefs proc ramfs rootfs rpc_pipefs securityfs selinuxfs sfs shfs smbfs sockfs sshfs sysfs tmpfs ubifs udf usbfs vboxsf"
PRUNENAMES = ".git .hg .svn"
PRUNEPATHS = "/afs /media /mnt/cdrom /mnt/data0 /mnt/data1 /mnt/iso /mnt/usb /net /sfs /tmp /udev /var/cache /var/lib/pacman/local /var/lock /var/run /var/spool /var/tmp"
@w0ng
Copy link
Author

w0ng commented Sep 22, 2012

Omit all subdirs in /mnt/, except /mnt/scratch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment