Date: Fri, 5 Oct 2007 22:41:40 GMT From: "Robert J. Palmer" <robd003@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/116960: locate doesn't index ZFS file systems (now with patch!) Message-ID: <200710052241.l95MfeJK059625@www.freebsd.org> Resent-Message-ID: <200710052250.l95Mo5WY072299@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 116960 >Category: misc >Synopsis: locate doesn't index ZFS file systems (now with patch!) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Oct 05 22:50:05 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Robert J. Palmer >Release: -CURRENT >Organization: Digitally Inclined Networks >Environment: FreeBSD kowalski.digitallyinclined.net 7.0-CURRENT-200709 FreeBSD 7.0-CURRENT-200709 #0: Mon Sep 10 23:28:19 UTC 2007 root@myers.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: locate's updatedb script will not index ZFS file systems because zfs isn't specified in the allowed file systems variable. I just figured that since ZFS is going to be released with 7.0 we might want to index files on it too... >How-To-Repeat: >Fix: Patch attached with submission follows: --- /usr/src/usr.bin/locate/locate/updatedb.sh 2007-10-05 15:35:06.735095026 -0700 +++ /usr/src/usr.bin/locate/locate/updatedb.sh 2007-10-05 15:35:17.709289232 -0700 @@ -52,7 +52,7 @@ : ${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 +: ${FILESYSTEMS:="ufs ext2fs zfs"} # allowed filesystems : ${find:=find} case X"$SEARCHPATHS" in >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710052241.l95MfeJK059625>