Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763234AbXFRNTz (ORCPT ); Mon, 18 Jun 2007 09:19:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758104AbXFRNTs (ORCPT ); Mon, 18 Jun 2007 09:19:48 -0400 Received: from styx.suse.cz ([82.119.242.94]:49780 "EHLO duck.suse.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757641AbXFRNTs (ORCPT ); Mon, 18 Jun 2007 09:19:48 -0400 Date: Mon, 18 Jun 2007 15:33:11 +0200 From: Jan Kara To: Arjan van de Ven Cc: holzheu@linux.vnet.ibm.com, 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" Subject: Re: [RFC/PATCH] Documentation of kernel messages Message-ID: <20070618133311.GK9319@duck.suse.cz> References: <1182171354.11400.40.camel@localhost.localdomain> <1182172374.28566.1.camel@laptopd505.fenrus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1182172374.28566.1.camel@laptopd505.fenrus.org> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1183 Lines: 30 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 SuSE CR Labs - 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/