From owner-cvs-all@FreeBSD.ORG Wed Oct 17 11:34:47 2007 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E122D16A417 for ; Wed, 17 Oct 2007 11:34:47 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from spacemail2-out.mgmt.space.net (spacemail2-out.mgmt.Space.Net [194.97.149.148]) by mx1.freebsd.org (Postfix) with ESMTP id 6884613C447 for ; Wed, 17 Oct 2007 11:34:47 +0000 (UTC) (envelope-from se@FreeBSD.org) X-SpaceNet-SBRS: None X-IronPort-AV: E=Sophos;i="4.21,289,1188770400"; d="scan'208";a="70271998" Received: from mail.atsec.com ([195.30.252.105]) by spacemail2-out.mgmt.space.net with ESMTP; 17 Oct 2007 13:34:46 +0200 Received: from [10.2.2.88] (frueh.atsec.com [217.110.13.170]) (Authenticated sender: se@atsec.com) by mail.atsec.com (Postfix) with ESMTP id A2B7C91C0B4; Wed, 17 Oct 2007 13:34:45 +0200 (CEST) Message-ID: <4715F353.1070703@FreeBSD.org> Date: Wed, 17 Oct 2007 13:34:43 +0200 From: Stefan Esser User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Alexey Dokuchaev References: <200710152209.l9FM9Jv3017150@repoman.freebsd.org> <20071016102013.GE23043@submonkey.net> <4714F06B.7070702@FreeBSD.org> <20071017103509.GA71990@FreeBSD.org> In-Reply-To: <20071017103509.GA71990@FreeBSD.org> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, Ceri Davies , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/locate/locate updatedb.sh X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 11:34:48 -0000 Alexey Dokuchaev wrote: > On Tue, Oct 16, 2007 at 07:10:03PM +0200, Stefan Esser wrote: >> The second possibility is to extend the list in the update script. It >> needs to contain at least: >> >> ufs ext2fs zfs >> >> and probably also: >> >> xfs msdosfs ntfs ntfs-3g (?) > > It might be a good idea to drop msdosfs off of this list. Real physical > filesystems in Windoze world are typically NTFS now, and FAT is used > mainly in removable storage. Yes, I considered this. In fact, if there is consensus that FAT should be excluded, I'd add another category to the configuration parameters of the locate.updatedb script. Currently there is: $SEARCHPATHS (start points for the directory scan) $PRUNEPATHS (sub-trees to exclude from scanning) $FILESYSTEMS (file system types to include) and we could add: $PRUNEFS (file system types to exclude) with the latter overriding $FILESYSTEMS ... As you may know, the new default for $FILESYSTEMS is all local, non-synthetic, non-loopback, principally writable file system types (which include msdosfs). The $PRUNEFS could be used to drop a few that could be scanned, but where it is still not desirable. Regards, STefan