File: updatedb.1

package info (click to toggle)
slocate 3.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 236 kB
  • ctags: 116
  • sloc: ansic: 1,898; sh: 224; makefile: 80
file content (68 lines) | stat: -rw-r--r-- 1,628 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
.TH UPDATEDB 1 \" -*- nroff -*-
.SH NAME
updatedb \- update the slocate database
.SH SYNOPSIS
.B updatedb
[\-u] [\-U path] [\-e path1,path2,...] [\-f fstype1,...] [\-l [01] ] [\-q] [\-v,\-\-verbose]
[\-V, \-\-version] [\-h, \-\-help] pattern...
.SH DESCRIPTION
This manual page
documents 
.BR slocate ,
a security-enhanced version of locate.
.BR updatedb
is simply a link to slocate that implies the -u option.
.SH OPTIONS
.TP
.I "\-u"
Create slocate database starting at the root directory.
This is the default behavior when called as
.B updatedb.
.TP
.I "\-U \fIpath\fP"
Create slocate database starting at path \fIpath\fP.
.TP
.I "\-e \fIdirs\fP"
Exclude directories in the comma-separated list \fIdirs\fP
from the slocate database.
.TP
.I "\-f \fIfstypes\fP"
Exclude file systems in the comma-separated list \fIdirs\fP
from the slocate database.
.TP
.I "\-l <num>"
Security level.
.I \-l 0
turns security checks off, which will make searches faster. 
.I \-l 1
turns security checks on. This is the default.
.TP
.I "\-q"
Quiet mode; error messages are suppressed.
.TP
.I "\-v"
Verbose mode; display files indexed when creating database
.TP
.I "\-\-help"
Print a summary of the options to
.B slocate
and exit.
.TP
.I "\-\-version"
Print the version number of
.B slocate
and exit.
.SH CONFIGURATION FILE
Secure Locate's
.I updatedb
will automatically parse GNU Locate's
.I /etc/updatedb.conf.
But please be aware that Secure Locate currently
does NOT support all options provided by GNU Locate's configuration file.

Options currently supported by Secure Locate are
.B PRUNEFS
and
.B PRUNEPATHS
.SH "SEE ALSO"
\fBslocate\fP(1)