RE: kernel support for non-english user messages

Chuck Ebbert (76306.1226@compuserve.com)
Thu, 10 Apr 2003 16:54:53 -0400


>> How about changing the way printk works, so that instead of
>> combining the format string, it just "prints" its args:
>>
>> printk("%s: name %p is %d\n", name, ptr, val);
>>
>> results in the following in the kernel buffer:
>>
>> "%s: name %p is %d\n", "stringval", 0x4790243, 44
>
> Debugging a non-klogd enabled kernel would be a pain

Why? Shouldn't it be easy to fix dmesg so it unmangles the output?

The real problem I see is that this approach doesn't make it any
easier to translate the messages.

Maybe someone should just try to write a Babelfish-like thing that
takes English kernel-speak and translates it as best it can? It would
at least be amusing to read the output. :)

--
 Chuck
 I am not a number!
-
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/