From owner-freebsd-stable@FreeBSD.ORG Mon Sep 28 09:19:54 2009 Return-Path: Delivered-To: FreeBSD-Stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 742DB1065670 for ; Mon, 28 Sep 2009 09:19:54 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw2.york.ac.uk (mail-gw2.york.ac.uk [144.32.128.247]) by mx1.freebsd.org (Postfix) with ESMTP id 0D4C98FC19 for ; Mon, 28 Sep 2009 09:19:53 +0000 (UTC) Received: from mail-gw6.york.ac.uk (mail-gw6.york.ac.uk [144.32.129.26]) by mail-gw2.york.ac.uk (8.13.6/8.13.6) with ESMTP id n8S9JpXE000083; Mon, 28 Sep 2009 10:19:51 +0100 (BST) Received: from buffy-128.york.ac.uk ([144.32.128.160] helo=buffy.york.ac.uk) by mail-gw6.york.ac.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1MsCOd-0002hD-6l; Mon, 28 Sep 2009 10:19:51 +0100 Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.14.3/8.14.3) with ESMTP id n8S9Jpta074737; Mon, 28 Sep 2009 10:19:51 +0100 (BST) (envelope-from gavin@FreeBSD.org) Received: (from ga9@localhost) by buffy.york.ac.uk (8.14.3/8.14.3/Submit) id n8S9JoUc074736; Mon, 28 Sep 2009 10:19:50 +0100 (BST) (envelope-from gavin@FreeBSD.org) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin@FreeBSD.org using -f From: Gavin Atkinson To: CmdLnKid In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 28 Sep 2009 10:19:50 +0100 Message-Id: <1254129590.74561.13.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin@freebsd.org Cc: FreeBSD Stable Subject: Re: locate(1) ZFS addition X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2009 09:19:54 -0000 On Sun, 2009-09-27 at 23:37 -0400, CmdLnKid wrote: > I just came across what I believe to be just a oversight on locate(1). By > default as stated in its locate.rc file in /etc it states that the default > file systems that will be searched is "ufs ext2fs". Would it be wise to have the > default be "ufs zfs xfs ext2fs" ? or some other combination. It appears to be a little more confused than that. In 8.x and 7.2, the list of filesystems that are actually searched are "ufs ext2fs zfs". The comment in the default /etc/locate.rc lists those, and also xfs. The real problem seems to be that /etc/locate.rc seems to be missed by mergemaster, and so updates to it aren't being picked up. However, from a quick inspection, I can't see why. I think it would be a good idea to file a PR so that this doesn't get lost. Gavin