Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763606AbXFRN5x (ORCPT ); Mon, 18 Jun 2007 09:57:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760884AbXFRN5q (ORCPT ); Mon, 18 Jun 2007 09:57:46 -0400 Received: from mtagate1.de.ibm.com ([195.212.29.150]:54697 "EHLO mtagate1.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758916AbXFRN5o (ORCPT ); Mon, 18 Jun 2007 09:57:44 -0400 Subject: Re: [RFC/PATCH] Documentation of kernel messages From: holzheu Reply-To: holzheu@linux.vnet.ibm.com To: Arjan van de Ven Cc: Gerrit Huizenga , Jan Kara , Andrew Morton , linux-kernel@vger.kernel.org, randy.dunlap@oracle.com, gregkh@suse.de, mtk-manpages@gmx.net, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, "lf_kernel_messages@linux-foundation.org" , pavel@ucw.cz In-Reply-To: <1182172374.28566.1.camel@laptopd505.fenrus.org> References: <1182171354.11400.40.camel@localhost.localdomain> <1182172374.28566.1.camel@laptopd505.fenrus.org> Content-Type: text/plain Organization: IBM Date: Mon, 18 Jun 2007 15:53:56 +0200 Message-Id: <1182174836.11400.64.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-27.rhel4.6) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1023 Lines: 31 On Mon, 2007-06-18 at 06:12 -0700, 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.... Yes. As already discussed with Pavel, it is one option to use the format string of the message as message ID. The disadvantage compared to message IDs like hashes is, that format strings might be even less unique than hashes and it's probably less convenient for searching by operators. An operator has to issue either: >> info lp.4711 or >> info "lp0: on fire" Michael - 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/