From: michaels Date: Thu, 3 Apr 1997 00:57:49 +0000 (+0000) Subject: per wishes of deraadt add ufs to default fs's to search. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d69c4488e2c3000c036b94785c37a93767b47e76;p=openbsd per wishes of deraadt add ufs to default fs's to search. --- diff --git a/usr.bin/locate/locate/updatedb.sh b/usr.bin/locate/locate/updatedb.sh index 41ccb001b59..21f754aace8 100644 --- a/usr.bin/locate/locate/updatedb.sh +++ b/usr.bin/locate/locate/updatedb.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $OpenBSD: updatedb.sh,v 1.8 1997/04/02 08:35:01 deraadt Exp $ +# $OpenBSD: updatedb.sh,v 1.9 1997/04/03 00:57:49 michaels Exp $ # # Copyright (c) September 1995 Wolfram Schneider . Berlin. # All rights reserved. @@ -28,7 +28,7 @@ # # updatedb - update locate database for local mounted filesystems # -# $Id: updatedb.sh,v 1.8 1997/04/02 08:35:01 deraadt Exp $ +# $Id: updatedb.sh,v 1.9 1997/04/03 00:57:49 michaels Exp $ LOCATE_CONFIG="/etc/locate.rc" if [ -f "$LOCATE_CONFIG" -a -r "$LOCATE_CONFIG" ]; then @@ -47,7 +47,7 @@ USAGE="Usage: $0 [--tmpdir=dir] [--fcodes=dbfile] [--searchpaths='dir1 dir2...'] : ${FCODES=/var/db/locate.database} # the database : ${SEARCHPATHS="/"} # directories to be put in the database : ${PRUNEPATHS="/tmp /usr/tmp /var/tmp"} # unwanted directories -: ${FILESYSTEMS="ffs"} # allowed filesystems +: ${FILESYSTEMS="ffs ufs"} # allowed filesystems : ${find=find} # Command line args override rc file and defaults