LWN.net Logo

Getting the message from the kernel

Getting the message from the kernel

Posted Jun 21, 2007 20:57 UTC (Thu) by jordanb (subscriber, #45668)
In reply to: Getting the message from the kernel by pfavr
Parent article: Getting the message from the kernel

The problem is that line numbers are volatile so it'd be difficult to keep a manual or (more likely) a translation table attached to the proper message.


(Log in to post comments)

Getting the message from the kernel

Posted Jul 2, 2007 9:19 UTC (Mon) by alext (guest, #7589) [Link]

Besides the error message is already going to have to be unique and therefore
anyone capable of looking at the code meaningfully won't have much trouble locating it.

The big use must be to allow external full explanations to exist that allow admin's etc to apply any known changes to config that get around the problem.

And as the start of the thread suggested, why is there so much resistance to potentially having something as simple as a call with a string and that string having a unique ID attached? It sounds like Linus being a bit precious rather than treating it like just adding a new hook to the code base for others to use in documenting behavior.

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds