From owner-freebsd-ports@FreeBSD.ORG Wed May 2 01:54:16 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9292C16A401; Wed, 2 May 2007 01:54:16 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id 72AB013C45B; Wed, 2 May 2007 01:54:16 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7] (may be forged)) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l421sA4X006171 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 1 May 2007 18:54:11 -0700 X-Auth-Received: from [192.168.10.45] (c-67-187-164-17.hsd1.ca.comcast.net [67.187.164.17]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l421sAF3029700 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 1 May 2007 18:54:10 -0700 Message-ID: <4637EF68.6070000@u.washington.edu> Date: Tue, 01 May 2007 18:54:48 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Sergey Matveychuk References: <20070429131345.GA19361@obelix.dsto.defence.gov.au> <463785BA.1090808@FreeBSD.org> In-Reply-To: <463785BA.1090808@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.5.1.183933 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CHARSET_IS_KOI8R 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_CHARSET_FARAWAY 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __STOCK_SUBJ_9 0, __USER_AGENT 0' Cc: freebsd-ports@freebsd.org, "Wilkinson, Alex" Subject: Re: ports_glob(1): Updating the portsdb - Updating EVERY time ! ... Why ? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 01:54:16 -0000 Sergey Matveychuk wrote: > Wilkinson, Alex wrote: >> OS: FreeBSD 7.0-CURRENT #1: Tue Apr 17 09:47:03 WST 2007 >> >> Hi all, >> >> Can anyone tell me why /var/tmp/INDEX-7.db is getting updated _every_ single >> time a run ports_glob(1) ? E.G. >> >> #ports_glob "*wifi*" >> [Updating the portsdb in /var/tmp ... - 16938 port entries found >> .........1000.........2000.........3000.........4000.........5000.........6000..... >> ....7000.........8000.........9000.........10000.........11000.........12000....... >> ..13000.........14000.........15000.........16000......... ..... done] >> net/wmwifi >> # >> >> Surely this isn't intended behaviour. > > There may be different problems. Try to remove the file and recreate again. AFAIK this will only occur if a) you don't have write access to the .db files or b) you change the DB driver or location. INDEX-7.db isn't located in /var/tmp though by default >_>.. -Garrett