Date: Sat, 26 Feb 2000 07:56:32 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: "Jordan K. Hubbard" <jkh@zippy.cdrom.com>, Peter Wemm <peter@netplex.com.au>, Robert Watson <robert+freebsd@cyrus.watson.org>, "Jordan K. Hubbard" <jkh@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern init_main.c Message-ID: <Pine.BSF.4.21.0002260728200.9513-100000@alphplex.bde.org> In-Reply-To: <5730.951509761@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 25 Feb 2000, Poul-Henning Kamp wrote: > In message <96412.951509574@zippy.cdrom.com>, "Jordan K. Hubbard" writes: > >I thought that was no larger than what syscons itself would display on > >scroll-back. > > No, this is the exact same thing dmesg will produce as far as I know. No, dmesg discards syslog sequences and NUL characters, and passes each line through vis(3), while the sysctl just uncircularises the message buffer and copies it out. NULs occur at the start of the sysctl(3) output unless buffer has wrapped around, so the sysctl(1) output normally doesn't show anything; you have to use `sysctl -b machdep.msbuf' to see all the sysctl(3) output. dmesg and the sysctl have different races when the message buffer changes underneath them. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0002260728200.9513-100000>