Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 31 Jul 2002 19:38:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 31 Jul 2002 19:38:46 -0400 Received: from leibniz.math.psu.edu ([146.186.130.2]:61635 "EHLO math.psu.edu") by vger.kernel.org with ESMTP id ; Wed, 31 Jul 2002 19:38:45 -0400 Date: Wed, 31 Jul 2002 19:42:11 -0400 (EDT) From: Alexander Viro To: Peter Chubb cc: Pavel Machek , Matt_Domsch@Dell.com, Andries.Brouwer@cwi.nl, linux-kernel@vger.kernel.org Subject: Re: 2.5.28 and partitions In-Reply-To: <15688.27022.143541.447952@wombat.chubb.wattle.id.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1214 Lines: 29 On Thu, 1 Aug 2002, Peter Chubb wrote: > >>>>> "Alexander" == Alexander Viro writes: > > Alexander> On Thu, 1 Aug 2002, Peter Chubb wrote: > > Alexander> What the bleedin' hell is wrong with \n > Alexander> - all in ASCII? Terminated by \0. No need for flags, no > Alexander> need for endianness crap, no need to worry about field > Alexander> becoming too narrow... > > I guess as it won't be used it for booting that'd be fine... except I > really *don't* like the idea of any kind of parser in the kernel Please. It's ~6 lines of loop. And if somebody can't write a "parser" of such kind correctly, I really don't like the idea of having his code in the kernel - failing C101 doesn't inspire a lot of confidence. And I don't see what's the problem on the boot side - finding first entry with name that starts with (say it) '*', skipping to next space and converting the following digits into a number... - 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/