Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  7 Jul 2008 22:15:47 +0200 (CEST)
From:      peter.schuller@infidyne.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/125378: [PATCH] FILESYSTEMS in /etc/locate.rc missing zfs / out of synch with locate.updatedb
Message-ID:  <20080707201547.1961A219624@prometheus.scode.org>
Resent-Message-ID: <200807072020.m67KK2rC018418@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125378
>Category:       conf
>Synopsis:       [PATCH] FILESYSTEMS in /etc/locate.rc missing zfs / out of synch with locate.updatedb
>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:   Mon Jul 07 20:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     peter.schuller@infidyne.com
>Release:        FreeBSD 7.0-RELEASE-p1 amd64
>Organization:
>Environment:
System: FreeBSD prometheus.scode.org 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #2: Sat Apr 19 19:15:39 CEST 2008 scode@prometheus.scode.org:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	/etc/locate.rc has:

	# filesystems allowed. Beware: a non-listed filesystem will be pruned
	# and if the SEARCHPATHS starts in such a filesystem locate will build
	# an empty database.
	#
	# be careful if you add 'nfs'
	#FILESYSTEMS="ufs ext2fs" 

	This suggests that the default, when left commented out, is "ufs ext2fs".
	However, locate.updatedb has this:

	: ${FILESYSTEMS:="ufs ext2fs zfs"}

	The default /etc/locate.rc should probably be updated to contain zfs.

>How-To-Repeat:
>Fix:
--- usr.bin/locate/locate/locate.rc.orig	2008-07-07 22:14:48.323989775 +0200
+++ usr.bin/locate/locate/locate.rc	2008-07-07 22:14:55.060985957 +0200
@@ -23,4 +23,4 @@
 # an empty database.
 #
 # be careful if you add 'nfs'
-#FILESYSTEMS="ufs ext2fs" 
+#FILESYSTEMS="ufs ext2fs zfs" 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080707201547.1961A219624>