From owner-freebsd-commit Tue Mar 5 13:06:21 1996 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA24544 for freebsd-commit-outgoing; Tue, 5 Mar 1996 13:06:21 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA24497 for cvs-all-outgoing; Tue, 5 Mar 1996 13:05:48 -0800 (PST) Received: from nervosa.com (root@nervosa.com [192.187.228.86]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id NAA24470 Tue, 5 Mar 1996 13:05:38 -0800 (PST) Received: from nervosa.com (coredump@onyx.nervosa.com [10.0.0.1]) by nervosa.com (8.7.5/nervosa.com.2) with SMTP id MAA19256; Tue, 5 Mar 1996 12:48:40 -0800 (PST) Date: Tue, 5 Mar 1996 12:48:39 -0800 (PST) From: invalid opcode To: Bruce Evans cc: 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 In-Reply-To: <199603051337.AAA06109@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-commit@FreeBSD.ORG Precedence: bulk On Wed, 6 Mar 1996, Bruce Evans wrote: > > 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). Well how about: set NOSRCHPATHS = "/proc" (stuff before) -fstype local (stuff after) | egrep -v ^${NOSRCHPATHS} | (stuff after) == Chris Layne ============================================================= == coredump@nervosa.com ================ http://www.nervosa.com/~coredump ==