Re: "Re: [PATCH 0/2] Colored kernel output (run2)" + "`Subject:' usage"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alan Cox wrote:
Jan's code is here today and it works fine for me. How can you coherently argue against the plain fact that his feature solves my usecases perfectly fine,

So add a notifier for console printk output. Then you can keep whatever
out of kernel patches you like for printk output in chinese, colour,
swedish chef ...

And of those the chinese is probably a good deal more relevant than the
colour.

If kernel printing were going to be done over, I would suggest that instead of the current fixed format strings, the format argument would be an index, an ordinal into an array of *char pointers, and the string so described would be used as the format. These strings and pointers could be put in two modules, one part of init to be released after boot like other init code, one resident. And by loading different modules the error messages could be as short, long, or colorful as desired, and in any language and/or character set available via escape sequence.

Of course people would say it's larger than what we have, harder to use, would take a huge effort to convert existing messages... and that's all true. But as you said, the Chinese is probably more germane than colors. Think about it, kernel messages in Gaelic or even rap lyrics
  "Hate to tell you,
   it must be said,
   I can't boot
   your disk be dead."
Or Latin, CRDOS had some comments in Latin and one PhD who thought his code was best described in BNF.

To be serious, a notifier to a user program, *after boot*, would allow all this flexibility, although I still think it's too late to change.

--
Bill Davidsen <[email protected]>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux