Date: Thu, 28 Jun 2007 19:19:46 +0200 (CEST) From: Ulrich Spoerlein <uspoerlein@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: conf/114101: [PATCH]: Add ZFS to periodic locate run Message-ID: <200706281719.l5SHJkpN004656@roadrunner.q.local> Resent-Message-ID: <200706281730.l5SHU4vD099056@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114101 >Category: conf >Synopsis: [PATCH]: Add ZFS to periodic locate run >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jun 28 17:30:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Ulrich Spoerlein >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: >Description: Only ufs and ext2fs are searched. With lots of people putting their system on ZFS, we should add it to the list, too. Also, I couldn't help but fix a minor indention slip up :) >How-To-Repeat: >Fix: --- patch begins here --- Index: usr.bin/locate/locate/updatedb.sh =================================================================== RCS file: /home/ncvs/src/usr.bin/locate/locate/updatedb.sh,v retrieving revision 1.20 diff -u -p -r1.20 updatedb.sh --- usr.bin/locate/locate/updatedb.sh 12 Nov 2005 12:45:08 -0000 1.20 +++ usr.bin/locate/locate/updatedb.sh 28 Jun 2007 17:17:20 -0000 @@ -50,9 +50,9 @@ PATH=$LIBEXECDIR:/bin:/usr/bin:$PATH; ex : ${mklocatedb:=locate.mklocatedb} # make locate database program : ${FCODES:=/var/db/locate.database} # the database -: ${SEARCHPATHS:="/"} # directories to be put in 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 +: ${FILESYSTEMS:="ufs zfs ext2fs"} # allowed filesystems : ${find:=find} case X"$SEARCHPATHS" in --- patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706281719.l5SHJkpN004656>