Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 May 2007 18:54:48 -0700
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        Sergey Matveychuk <sem@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org, "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au>
Subject:   Re: ports_glob(1): Updating the portsdb - Updating EVERY time ! ... Why ?
Message-ID:  <4637EF68.6070000@u.washington.edu>
In-Reply-To: <463785BA.1090808@FreeBSD.org>
References:  <20070429131345.GA19361@obelix.dsto.defence.gov.au> <463785BA.1090808@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <format:bdb_btree> 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



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