Subject: Re: rc.d boot log [was: Re: Cosmetic changes to rc.d scripts]
To: Mike M. Volokhov <mishka@apk.od.ua>
From: mouss <usebsd@free.fr>
List: tech-userlevel
Date: 10/14/2004 12:58:12
Mike M. Volokhov wrote:
> 
> Thus this daemon must starts from /etc/rc directly...
> 
> Possible this can be some sort of in-kernel text buffer, which can store
> console output like it dmesg does.
> 
> At the other hand, after system has been started up once, there are no
> real need in such buffer. All desired info can be logged via syslog and
> dmesg.
> 
> And another question - why not use shell variables for log storage as I
> did? Any problems with it?

What about:
- Before /var is mounted, either save to buffer or ignore
- as soon as /var is mounted, tee -a /var/log/rc.log
?