Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2004 02:29:20 +0300 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Ian Dowse <iedowse@freebsd.org>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sbin/dmesg dmesg.c
Message-ID:  <20040206022800.W99338@woozle.rinet.ru>
In-Reply-To: <200402052107.i15L7oxj050027@repoman.freebsd.org>
References:  <200402052107.i15L7oxj050027@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 5 Feb 2004, Ian Dowse wrote:

ID> iedowse     2004/02/05 13:07:50 PST
ID>
ID>   FreeBSD src repository
ID>
ID>   Modified files:
ID>     sbin/dmesg           dmesg.c
ID>   Log:
ID>   Don't print the oldest line in the message buffer if the buffer is
ID>   full, since that line is almost always incomplete. Make the parsing
ID>   of <%d> lines more strict.
ID>
ID>   Also simplify the logic a little:
ID>    - Start off by making the buffer linear so that we don't have to
ID>      deal with it wrapping around (suggested by bde).
ID>    - Process line by line rather than byte at a time.

Any plans of MFSing this? We encounter this problem with every machine with
IPFW logging turned on (at least with daily security mail reports).

Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040206022800.W99338>