Subject: Re: /etc/rc.d/sysdb never creates /var/run/dev.db
To: None <current-users@netbsd.org>
From: Valeriy E. Ushakov <uwe@stderr.spb.ru>
List: current-users
Date: 05/16/2007 02:04:14
On Tue, May 15, 2007 at 23:37:35 +0200, Juan RP wrote:
> On Tue, 15 May 2007 17:26:07 -0400
> "Blair Sadewitz" <blair.sadewitz@gmail.com> wrote:
>
> > In /etc/rc.d/sysdb, build_devdb invokes check_file() with "/dev" as
> > $1. That's not a regular file, and so it always skips it. Should we
> > just call it with "/var/run/dev.db" in place of "/dev"?
>
> You are right, it uses -f /dev and it's always false...
While here, can we either move dev.db to /var/db or drop the
up-to-date check? By the time sysdb checks /var/run/dev.db timestamp
against /dev - dev.db has been already nuked by mountcritlocal that
kills everything under /var/run
SY, Uwe
--
uwe@stderr.spb.ru | Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen