From owner-cvs-all@FreeBSD.ORG Tue Oct 16 10:37:30 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 E1A8C16A469; Tue, 16 Oct 2007 10:37:30 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc3-cdif2-0-0-cust64.cdif.cable.ntl.com [81.106.128.65]) by mx1.freebsd.org (Postfix) with ESMTP id AB37F13C43E; Tue, 16 Oct 2007 10:37:30 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.68 (FreeBSD)) (envelope-from ) id 1IhjX3-000OzP-Hi; Tue, 16 Oct 2007 11:20:13 +0100 Date: Tue, 16 Oct 2007 11:20:13 +0100 From: Ceri Davies To: Stefan Esser Message-ID: <20071016102013.GE23043@submonkey.net> References: <200710152209.l9FM9Jv3017150@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h56sxpGKRmy85csR" Content-Disposition: inline In-Reply-To: <200710152209.l9FM9Jv3017150@repoman.freebsd.org> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.16 (2007-06-09) Sender: Ceri Davies 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 10:37:31 -0000 --h56sxpGKRmy85csR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 15, 2007 at 10:09:19PM +0000, Stefan Esser wrote: > se 2007-10-15 22:09:19 UTC >=20 > FreeBSD src repository >=20 > Modified files: > usr.bin/locate/locate updatedb.sh=20 > 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). This now includes /dev, /dev/fd, /proc, /compat/linux/proc, CD-ROMs and DVDs as well as duplicating everything in nullfs mounts, all of which are probab= ly undesirable -- well, they are undesirable to me; whether they are to others is the question ;-). Also, the example in /etc/locate.rc should be updated to avoid misleading users into thinking that ufs is the only filesystem searched (granted, this was wrong before). Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --h56sxpGKRmy85csR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFHFJBdocfcwTS3JF8RAkosAKC3TW1GcatgfsLy1EK0cs3yYUGPsgCdGw5V rUrJg6dTgug6MkQ1UfyBt3s= =Izth -----END PGP SIGNATURE----- --h56sxpGKRmy85csR--