conf/125378: [PATCH] FILESYSTEMS in /etc/locate.rc missing zfs /
out of synch with locate.updatedb
peter.schuller at infidyne.com
peter.schuller at infidyne.com
Mon Jul 7 20:20:02 UTC 2008
>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 at 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 at 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:
More information about the freebsd-bugs
mailing list