From owner-cvs-usrbin Tue Mar 5 06:32:53 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA28373 for cvs-usrbin-outgoing; Tue, 5 Mar 1996 06:32:53 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id GAA28367 Tue, 5 Mar 1996 06:32:49 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id AAA06109; Wed, 6 Mar 1996 00:37:38 +1100 Date: Wed, 6 Mar 1996 00:37:38 +1100 From: Bruce Evans Message-Id: <199603051337.AAA06109@godzilla.zeta.org.au> To: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org, davidg@freefall.freebsd.org Subject: Re: cvs commit: src/usr.bin/locate/locate updatedb.csh updatedb.sh Sender: owner-cvs-usrbin@FreeBSD.ORG Precedence: bulk > Modified: usr.bin/locate/locate updatedb.csh updatedb.sh > Log: > Use '-fstype ufs' rather than '-fstype local' on the find command to avoid > special non-filesystems like procfs from being included. This breaks non-special filesystems such as cd9660, msdosfs and ext2fs. It will be easier to fix properly when the Lite2 find is imported (the 4.4Lite find only knows about a few fstypes, not including procfs). I don't really want to re-create the database every week for the cdrom that happens to be mounted, but I want cdrom filenames in the database. gnu locate supports multiple databases (specified in the environment variable LOCATE_PATH IIRC). This allows the cdrom databases to be kept separately and merged when locate is run. Bruce