This is kind of brute force but it works.

ee /etc/syslog.conf       /* It may be a default, I forget */
    make sure the "/dev/console" is uncommented (activated )
rm /var/log/console.log            /* delete old log or copy it */
touch /var/log/console.log        /*syslog won't write to an non-existent
file*/

reboot -s                                /* reboot */

ee /var/log/console.log            /* there you go, your boot up log */

----- Original Message -----
From: "Lowell Gilbert" <[EMAIL PROTECTED]>
To: "Ed Yu" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, July 24, 2002 5:34 AM
Subject: Re: how to capture bootup messages?


> Ed Yu <[EMAIL PROTECTED]> writes:
>
> > Thanks Dan. I tried it and it does scroll back. Is
> > there a way to set the number of saved lines? It
>
> Yes, that's described in the manual for sc(4), but:
>
> > doesn't allow me to scroll all the way the the
> > beginning. Is there a way to set it so that all the
> > messages can be saved to a file instead?
>
> you mean like /var/run/dmesg.boot?
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to