Date: Tue, 16 Oct 2007 11:20:13 +0100 From: Ceri Davies <ceri@submonkey.net> To: Stefan Esser <se@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/locate/locate updatedb.sh Message-ID: <20071016102013.GE23043@submonkey.net> In-Reply-To: <200710152209.l9FM9Jv3017150@repoman.freebsd.org> References: <200710152209.l9FM9Jv3017150@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071016102013.GE23043>