From owner-freebsd-bugs@FreeBSD.ORG Wed Jul 11 02:40:08 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7401316A400 for ; Wed, 11 Jul 2007 02:40:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 5DCEA13C484 for ; Wed, 11 Jul 2007 02:40:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l6B2e8Bb084482 for ; Wed, 11 Jul 2007 02:40:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l6B2e8QS084476; Wed, 11 Jul 2007 02:40:08 GMT (envelope-from gnats) Date: Wed, 11 Jul 2007 02:40:08 GMT Message-Id: <200707110240.l6B2e8QS084476@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Craig Rodrigues Cc: Subject: Re: conf/114101: [PATCH]: Add ZFS to periodic locate run X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Craig Rodrigues List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 02:40:08 -0000 The following reply was made to PR conf/114101; it has been noted by GNATS. From: Craig Rodrigues To: Ulrich Spoerlein Cc: bug-followup@freebsd.org Subject: Re: conf/114101: [PATCH]: Add ZFS to periodic locate run Date: Tue, 10 Jul 2007 22:37:50 -0400 --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Instead of the patch you submitted for conf/11401, can you try this patch? -- Craig Rodrigues rodrigc@crodrigues.org --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="a.txt" Index: updatedb.sh =================================================================== RCS file: /home/ncvs/src/usr.bin/locate/locate/updatedb.sh,v retrieving revision 1.20 diff -u -u -r1.20 updatedb.sh --- updatedb.sh 12 Nov 2005 12:45:08 -0000 1.20 +++ updatedb.sh 11 Jul 2007 02:36:10 -0000 @@ -52,7 +52,10 @@ : ${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 +# allowed file systems +: ${FILESYSTEMS:="$(lsvfs | \ + egrep -v 'loopback|network|synthetic|read-only|^\-|^File' | \ + cut -d " " -f 1)"} : ${find:=find} case X"$SEARCHPATHS" in --KsGdsel6WgEHnImy--