Subject: Re: problem with 'w' after recent rebuild?
To: None <greywolf@starwolf.com>
From: Chris G Demetriou <Chris_G_Demetriou@ux2.SP.CS.CMU.EDU>
List: current-users
Date: 01/10/1997 05:22:09
> ...so what's wrong with throwing the line
> 
> 	unlink("/var/db/kvm.db");	/* or its _PATH_ constant */
> 	/* or (f)truncate() it? */
> 
> into kvm_mkdb.c (or wherever)?  If you're remaking the db, it's probably
> more expedient to just blast what's there and recreate it unconditionally
> rather than to figure if its dependency has changed, what's changed about
> it and what needs to be updated.

rebuilding the kvm database can be _incredibly_ expensive, especially
if you're doing it over NFS.

my i386 (my ppp-handling machine, at home) takes about 20 seconds to
rebuild the kvm database for a rather stripped-down x86 kernel, and
it's unreasonable to do that at every boot.


kvm_mkdb should be fixed, rather than broken even further.  (I'm not
sure what's wrong with it, since i'm out of town and am only slowly
catching up on my mail...  but i hope whatever problem is having is
fixed by the time i return.  8-)



chris