Re: klibc and logging

Miquel van Smoorenburg (miquels@cistron.nl)
Tue, 13 Aug 2002 09:42:31 +0000 (UTC)


In article <3D58B14A.5080500@zytor.com>,
H. Peter Anvin <hpa@zytor.com> wrote:
>However, I'm wondering what to do about logging. Kernel log messages
>get stored away until klogd gets started, but early userspace may need
>some way to log messages -- and syslog is obviously not running. The
>easiest way to do this would probably be to be able to write to
>/proc/kmsg (which probably really should be /dev/kmsg) and push messages
>onto the kernel's message queue; but we could also have a dedicated
>location in the initramfs for writing logs, and do it all in userspace.

/dev/shm/log/ ?

Mike.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/