lkml.org 
[lkml]   [2002]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectklibc and logging
Okay... I think klibc is starting to get pretty much to the point where 
it will need to be, although I'm sure there will be plenty of bugs once
we start using it heavily -- and it still needs RPC support code for
mounting NFS :(

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.
In the latter case there needs to be a convention to make sure this
file is actually present in the namespace at the time syslog starts, and
of course syslog needs to know about it...

-hpa

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.125 / U:11.768 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site