Re: dmesg command
Svante Signell, le Wed 02 Nov 2011 00:51:06 +0100, a écrit :
> On Wed, 2011-11-02 at 00:28 +0100, Samuel Thibault wrote:
> > Svante Signell, le Wed 02 Nov 2011 00:22:37 +0100, a écrit :
> > > Or are you thinking upstream?
> > Upstream would eventually need a dmesg too. It's however not a simple
> > thing to ship, considering the "eat" nature of /dev/klog.
> Does this strange /dev/klog construct have historical reasons for being
> there? Never seen similar on other systems.
It's the same on Linux, with /dev/kmsg. Linux just happens to also
provide a klogctl interface which provides some backlog. Something like
that could also be devised.