boot messages

Jerry McBride mcbrides9
Mon May 17 11:39:37 PDT 2004


On Thu, 31 Oct 2002 15:48:47 -0700 Andrew Mathews
<andrew_mathews at linux-works.org> wrote:

> Tony Alfrey wrote:
> > Hi.
> > 
> > I want to put little messages in the various boot scripts (like in 
> > /etc/rc.d/rc.modules) so that I can track the boot process.  I would 
> > like these messages to appear someplace where I can review them, such 
> > as in dmesg.  So far, I have simply put
> > echo "blah blah"
> > into scripts and the messages appear on the screen during boot-up but 
> > not in either dmesg (or /var/log/messages) which is where I would like 
> > them.
> > Does someone know how to do this?  I would really appreciate a hint on 
> > this one.
> > Thanks much in advance!
> > 
> > 
> > 
> 
> Try:
> echo "blah blah" >> /var/log/boot.log or
> echo "blah blah" >> /var/log/messages
>

You can send it to an unused console via echo "blah" > /dev/tty3

-- 

******************************************************************************
                     Registered Linux User Number 185956
          http://groups.google.com/groups?hl=en&safe=off&group=linux
             Join me in chat at #linux-users on irc.freenode.net
    7:49pm  up 233 days,  1:58,  6 users,  load average: 1.77, 1.69, 1.17


More information about the Linux-users mailing list