Re: [RFC/PATCH] Documentation of kernel messages



On Mon 18-06-07 06:12:54, Arjan van de Ven wrote:
On Mon, 2007-06-18 at 14:55 +0200, holzheu wrote:
Hi Gerrit,

The common thing of your and our approach is, that we need an ID to
identify a message either by:


Maybe I am missing something big, but why is an ID needed?
The message IS the ID right? That's the only thing that is robust
against code moving about....
I think the problem is messages contain device numbers, and all similar
kind of data. So what you'd really like is to use >format string< as ID.
But that is not easily accessible for the user, so you'd have to print it
with each message. And that's ... ugly IMHO.

(And yes I am aware that very occasionally there might be a duplicate
message that REALLY is different, but I suspect that that is so
incredibly rare that it's just simpler to reword one of the two in such
case)

Honza
--
Jan Kara <jack@xxxxxxx>
SuSE CR Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Algebra with Q(pi).
    ... I may be missing something basic here http://tinyurl.com/59qvkn ... of some nonsense in a thread ... But the best you can do is link to some random anonymous post, ... common English idiom. ...
    (sci.math)
  • Re: Can you decrypt this?
    ... missing. ... Well Pervis will wander the beat, ... Tomorrow, I'll cut the suspect. ...
    (sci.crypt)
  • Re: Aruban update.
    ... She has been questioning mrs Twitty on all sorts of matters as why it was, that she appeared that promptly in Aruba after the disappearance. ... missing persons but they coordinate police efforts. ... Joran is still a suspect at this time as well as the Kalpoe's. ... It is important to know why: was it because of something she heard from the schoolmates or chapenones? ...
    (alt.true-crime)
  • Re: Wednesday Update:Rowan Ford Search
    ... "We're not calling anyone a person of interest or suspect yet, ... Stepdad David Spears was the last to see Rowan, ... So back to him taking the car, ... the sheet missing off the bed. ...
    (alt.true-crime)
  • Re: [PATCH 1/2] Traffic control cgroups subsystem
    ... which doesn't execute in the context of the sending ... Or am I missing something? ... You claimed "In the most common case, the packet is not queued before ...
    (Linux-Kernel)