LOCATE.CONF(5) | File Formats Manual | LOCATE.CONF(5) |
locate.conf
—
locate.conf
file specifies the behavior of
locate.updatedb(8),
which creates the locate(1)
database.
The locate.conf
file contains a list of
newline separated records, each of which is composed of a keyword and
arguments, which are separated by white space. Arguments with embedded shell
metacharacters must be quoted in
sh(1) style. Lines beginning with
“#” are treated as comments and ignored. However, a
“#” in the middle of a line does not start a comment.
The configuration options are as follows:
Default: Not specified.
Default: Not specified.
type is used as an argument to
find(1)
-fstype
. The
sysctl(8) command can be
used to find out the types of file systems that are available on the
system:
sysctl vfs.generic.fstypes
Default: !local cd9660 fdesc kernfs procfs
Default: /
Default: /tmp
Refer to find(1) for
the details of pattern (see
-path
expression) and type
(see -fstype
expression).
locate.conf
resides in
/etc.locate.conf
file format first appeared in
NetBSD 2.0.
July 10, 2011 | NetBSD 9.4 |