boot log

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Apr 17 03:51:12 PDT 2004


On Sat, Apr 17, 2004 at 09:23:33AM +0930, Greg 'groggy' Lehey wrote:
> On Friday, 16 April 2004 at 17:37:10 -0400, Charles Swiger wrote:
> > On Apr 16, 2004, at 11:31 AM, RazorOnFreeBSD wrote:
> >> I just would like to know how can I read the exact text that is
> >> displaying very fast at the FreeBSD boot.
> >
> > Try:
> >
> > 	dmesg | less
> 
> Unfortunately, this shows only the kernel messages, not the subsequent
> messages from userland programs run during startup.  In particular,
> messages from fsck(8) are missing.  Unfortunately, since the demise of
> paper consoles, there's no way to save this information.  This is a
> general UNIX problem, not a FreeBSD problem.

Err -- are you sure about that?  I have this in /etc/syslog.conf:

    # uncomment this to log all writes to /dev/console to /var/log/console.log
    console.info                                    /var/log/console.log

And consequently I have this in my /var/log/console.log:

    Apr 15 22:07:14 happy-idiot-talk /kernel: dumpon: crash dumps to /dev/da0s1b (13, 131073)
    Apr 15 22:07:14 happy-idiot-talk /kernel: swapon: adding /dev/da0s1b as swap device
    Apr 15 22:07:14 happy-idiot-talk /kernel: Automatic boot in progress...
    Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1a: 
    Apr 15 22:07:14 happy-idiot-talk /kernel: FILESYSTEM CLEAN; SKIPPING CHECKS
    Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1a: 
    Apr 15 22:07:14 happy-idiot-talk /kernel: clean, 38468 free 
    Apr 15 22:07:14 happy-idiot-talk /kernel: (404 frags, 4758 blocks, 0.3% fragmentation)
    Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1g: 
    Apr 15 22:07:14 happy-idiot-talk /kernel: FILESYSTEM CLEAN; SKIPPING CHECKS
    Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1g: 
    Apr 15 22:07:14 happy-idiot-talk /kernel: clean, 15120392 free 
    Apr 15 22:07:14 happy-idiot-talk /kernel: (10632 frags, 1888720 blocks, 0.0% fragmentation)
    Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1f: 
    Apr 15 22:07:14 happy-idiot-talk /kernel: FILESYSTEM CLEAN; SKIPPING CHECKS
    Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1f: 
    Apr 15 22:07:14 happy-idiot-talk /kernel: clean, 1700955 free 
    Apr 15 22:07:14 happy-idiot-talk /kernel: (133747 frags, 195901 blocks, 2.2% fragmentation)
    Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1e: 
    Apr 15 22:07:14 happy-idiot-talk /kernel: FILESYSTEM CLEAN; SKIPPING CHECKS
    Apr 15 22:07:14 happy-idiot-talk /kernel: /dev/da0s1e: 
    Apr 15 22:07:14 happy-idiot-talk /kernel: clean, 52326 free 
    Apr 15 22:07:14 happy-idiot-talk /kernel: (870 frags, 6432 blocks, 0.7% fragmentation)

I also get a nice transcript of running mergemaster in single user
mode when I do routine updates, or indeed any console output at all.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040417/b38396f9/attachment.bin


More information about the freebsd-questions mailing list