Subject: Re: vgrindefs.db size ?
To: Christos Zoulas <>
From: Jaromír Dolecek <>
List: tech-userlevel
Date: 01/28/2001 20:24:24
Christos Zoulas wrote:
> In article <>,
> Jarommr Dolecek <> wrote:
> The file must have holes.

Maybe when it's built, but install(1) then uses real blocks AFAIK.

Anyway, the problem seems to be in hint cap_mkdb(1) passes to
dbopen(3) for nelem value. It uses 2048 and hash(3) seems to use
accordingly big initial database. When I cut the hint to 12, the
result vgrindefs.db is only approx. 24KB. On the other hand, if I
pass default nelem hint (1 or some other low number), termcap.db
becomes about 70KB bigger. I'm currently testing some code which
tests number of records in input file(s) and passes appropriate
nelem hint.

Jaromir Dolecek <>
@@@@  Wanna a real operating system ? Go and get NetBSD, dammit!  @@@@