Add ZFS to locate.updatedb

From: Alexander Nedotsukov <bland_at_FreeBSD.org>
Date: Tue, 24 Apr 2007 17:18:48 +0900
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.

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
_at__at_ -52,7 +52,7 _at__at_
 : ${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 
Received on Tue Apr 24 2007 - 06:18:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:09 UTC