1 1.2 wiz # $NetBSD: locate.conf,v 1.2 2014/07/22 17:11:09 wiz Exp $ 2 1.1 itohy # 3 1.1 itohy # This file is read by /usr/libexec/locate.updatedb when building locate(1) 4 1.1 itohy # database. 5 1.1 itohy # 6 1.1 itohy # argument description default 7 1.1 itohy # searchpath <paths> search path / 8 1.2 wiz # ignorefs <fs types> ignore file systems of the types !local cd9660 9 1.1 itohy # Setting <fs types> to "none" fdesc kernfs 10 1.1 itohy # disables it (search everything). procfs 11 1.1 itohy # Prepending ! negates the meaning 12 1.1 itohy # (ignore if the fs is not the type). 13 1.1 itohy # ignore <paths> ignore dir and the contents (none) 14 1.1 itohy # ignorecontents <paths> ignore contents of dir (none) 15 1.1 itohy # workdir <path> work directory /tmp 16 1.1 itohy # 17 1.1 itohy # Multiple "searchpath", "ignore", and "ignorecontents" are allowed. 18 1.1 itohy # *, ?, and [...] pattern can be used for "ignore" and "ignorecontents". 19 1.1 itohy # Note that the meta-characters may match to slashes. See find(1) for 20 1.1 itohy # the detail of the pattern. 21 1.1 itohy 22 1.1 itohy #searchpath / 23 1.1 itohy #ignorefs none 24 1.1 itohy #ignorefs !local cd9660 fdesc kernfs procfs 25 1.1 itohy #ignore /tmp /amd 26 1.1 itohy #ignorecontents /var/squid/cache/* 27 1.1 itohy #workdir /var/tmp 28