Date: Tue, 24 Apr 2007 17:18:48 +0900 From: Alexander Nedotsukov <bland@FreeBSD.org> To: freebsd-current@FreeBSD.org Subject: Add ZFS to locate.updatedb Message-ID: <462DBD68.40102@FreeBSD.org>
index | next in thread | raw e-mail
[-- Attachment #1 --]
Hi guys,
Do you think it is reasonable to apply patch attached? ZFS seems to
become a widespread and I think it worth to be added to default search list.
Thanks,
Alexander.
[-- Attachment #2 --]
Index: updatedb.sh
===================================================================
RCS file: /home/ncvs/src/usr.bin/locate/locate/updatedb.sh,v
retrieving revision 1.20
diff -u -r1.20 updatedb.sh
--- updatedb.sh 12 Nov 2005 12:45:08 -0000 1.20
+++ updatedb.sh 24 Apr 2007 07:50:04 -0000
@@ -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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?462DBD68.40102>
