From owner-cvs-all@FreeBSD.ORG Tue Oct 16 00:22:13 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65F0216A41B; Tue, 16 Oct 2007 00:22:13 +0000 (UTC) (envelope-from csjp@sub.vaned.net) Received: from sub.vaned.net (sub.vaned.net [205.200.235.40]) by mx1.freebsd.org (Postfix) with ESMTP id 1720A13C45A; Tue, 16 Oct 2007 00:22:12 +0000 (UTC) (envelope-from csjp@sub.vaned.net) Received: by sub.vaned.net (Postfix, from userid 1001) id 5566E173DD; Mon, 15 Oct 2007 19:19:25 -0500 (CDT) Date: Mon, 15 Oct 2007 19:19:25 -0500 From: "Christian S.J. Peron" To: Stefan Esser Message-ID: <20071016001925.GA63885@sub.vaned.net> References: <200710152209.l9FM9Jv3017150@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200710152209.l9FM9Jv3017150@repoman.freebsd.org> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/locate/locate updatedb.sh X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2007 00:22:13 -0000 You should claim ownership over PR: 116960 and change it to patched since the reporter was complaining about this issue. On Mon, Oct 15, 2007 at 10:09:19PM +0000, Stefan Esser wrote: > se 2007-10-15 22:09:19 UTC > > FreeBSD src repository > > Modified files: > usr.bin/locate/locate updatedb.sh > Log: > Make the updatedb script installed as /usr/libexec/locate.updatedb > inspect all local file systems, not only ufs and ext2fs. A number > of local file systems has been added over time, and at least zfs > has the potential to become a popular choice. Without this change > a ZFS root file system causes the script to ignore all file-systems > and leads to an empty locate db. (An alternative is to add all the > relevant file systems individually, which means that at least zfs, > xfs, ntfs, ntfs-3g, msdosfs should be added, probably more). > > Revision Changes Path > 1.21 +2 -2 src/usr.bin/locate/locate/updatedb.sh > http://cvsweb.FreeBSD.org/src/usr.bin/locate/locate/updatedb.sh.diff?r1=1.20&r2=1.21 > | --- src/usr.bin/locate/locate/updatedb.sh 2005/11/12 12:45:08 1.20 > | +++ src/usr.bin/locate/locate/updatedb.sh 2007/10/15 22:09:19 1.21 > | @@ -26,7 +26,7 @@ > | # > | # updatedb - update locate database for local mounted filesystems > | # > | -# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/usr.bin/locate/locate/updatedb.sh,v 1.20 2005/11/12 12:45:08 grog Exp $ > | +# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/usr.bin/locate/locate/updatedb.sh,v 1.21 2007/10/15 22:09:19 se Exp $ > | > | if [ "$(id -u)" = "0" ]; then > | echo ">>> WARNING" 1>&2 > | @@ -52,7 +52,7 @@ PATH=$LIBEXECDIR:/bin:/usr/bin:$PATH; ex > | : ${FCODES:=/var/db/locate.database} # the database > | : ${SEARCHPATHS:="/"} # directories to be put in the database > | : ${PRUNEPATHS:="/tmp /usr/tmp /var/tmp /var/db/portsnap"} # unwanted directories > | -: ${FILESYSTEMS:="ufs ext2fs"} # allowed filesystems > | +: ${FILESYSTEMS:="local"} # allowed filesystems > | : ${find:=find} > | > | case X"$SEARCHPATHS" in > -- Christian S.J. Peron csjp@FreeBSD.ORG FreeBSD Committer