Date: Wed, 11 Jul 2007 02:40:08 GMT From: Craig Rodrigues <rodrigc@crodrigues.org> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/114101: [PATCH]: Add ZFS to periodic locate run Message-ID: <200707110240.l6B2e8QS084476@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/114101; it has been noted by GNATS. From: Craig Rodrigues <rodrigc@crodrigues.org> To: Ulrich Spoerlein <uspoerlein@gmail.com> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707110240.l6B2e8QS084476>