2013-09-25 16:15:56 +02:00
|
|
|
---
|
|
|
|
doc/find.texi | 2 +-
|
|
|
|
locate/updatedb.1 | 5 ++---
|
|
|
|
locate/updatedb.sh | 1 +
|
|
|
|
3 files changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
|
2012-02-13 14:37:28 +01:00
|
|
|
Index: doc/find.texi
|
|
|
|
===================================================================
|
2013-09-25 16:15:56 +02:00
|
|
|
--- doc/find.texi.orig
|
|
|
|
+++ doc/find.texi
|
|
|
|
@@ -3587,7 +3587,7 @@ Default is none.
|
2006-12-19 00:15:57 +01:00
|
|
|
@item --prunepaths='@var{path}@dots{}'
|
|
|
|
Directories to omit from the database, which would otherwise be
|
|
|
|
included. The environment variable @code{PRUNEPATHS} also sets this
|
|
|
|
-value. Default is @file{/tmp /usr/tmp /var/tmp /afs}. The paths are
|
|
|
|
+value. Default is @file{/tmp /usr/tmp /var/tmp /afs /var/spool}. The paths are
|
|
|
|
used as regular expressions (with @code{find ... -regex}, so you need
|
|
|
|
to specify these paths in the same way that @code{find} will encounter
|
|
|
|
them. This means for example that the paths must not include trailing
|
2012-02-13 14:37:28 +01:00
|
|
|
Index: locate/updatedb.1
|
|
|
|
===================================================================
|
2013-09-25 16:15:56 +02:00
|
|
|
--- locate/updatedb.1.orig
|
|
|
|
+++ locate/updatedb.1
|
2012-02-13 14:37:28 +01:00
|
|
|
@@ -75,8 +75,7 @@ Default is \fInfs NFS proc\fP.
|
2006-12-19 00:15:57 +01:00
|
|
|
.TP
|
|
|
|
.B \-\-output=\fIdbfile\fP
|
|
|
|
The database file to build.
|
|
|
|
-Default is system-dependent. In Debian GNU/Linux, the default
|
|
|
|
-is /var/cache/locate/locatedb.
|
2013-09-25 16:15:56 +02:00
|
|
|
+Default is /var/lib/locatedb.
|
2006-12-19 00:15:57 +01:00
|
|
|
.TP
|
|
|
|
.B \-\-localuser=\fIuser\fP
|
|
|
|
The user to search non-network directories as, using \fBsu\fP(1).
|
2012-02-13 14:37:28 +01:00
|
|
|
@@ -85,7 +84,7 @@ You can also use the environment variabl
|
2006-12-19 00:15:57 +01:00
|
|
|
.TP
|
|
|
|
.B \-\-netuser=\fIuser\fP
|
|
|
|
The user to search network directories as, using \fBsu\fP(1).
|
|
|
|
-Default is \fBdaemon\fP.
|
|
|
|
+Default is \fBnobody\fP.
|
|
|
|
You can also use the environment variable \fBNETUSER\fP to set this user.
|
|
|
|
.TP
|
|
|
|
.B \-\-old\-format
|
2012-02-13 14:37:28 +01:00
|
|
|
Index: locate/updatedb.sh
|
|
|
|
===================================================================
|
2013-09-25 16:15:56 +02:00
|
|
|
--- locate/updatedb.sh.orig
|
|
|
|
+++ locate/updatedb.sh
|
|
|
|
@@ -165,6 +165,7 @@ select_shell() {
|
|
|
|
/sfs
|
|
|
|
/tmp
|
|
|
|
/usr/tmp
|
|
|
|
+/var/spool
|
|
|
|
/var/tmp
|
|
|
|
"}
|
2006-12-19 00:15:57 +01:00
|
|
|
|
2013-09-25 16:15:56 +02:00
|
|
|
@@ -196,7 +197,7 @@ fi
|
2006-12-19 00:15:57 +01:00
|
|
|
export TMPDIR
|
|
|
|
|
|
|
|
# The user to search network directories as.
|
|
|
|
-: ${NETUSER=daemon}
|
|
|
|
+: ${NETUSER=nobody}
|
|
|
|
|
|
|
|
# The directory containing the subprograms.
|
|
|
|
if test -n "$LIBEXECDIR" ; then
|
2013-09-25 16:15:56 +02:00
|
|
|
@@ -273,6 +274,7 @@ proc
|
|
|
|
shfs
|
|
|
|
smbfs
|
|
|
|
sysfs
|
|
|
|
+unknown
|
|
|
|
"}
|
2006-12-19 00:15:57 +01:00
|
|
|
|
|
|
|
if test -n "$PRUNEFS"; then
|