Re: 2.5.28 and partitions

Alexander Viro (viro@math.psu.edu)
Wed, 31 Jul 2002 19:42:11 -0400 (EDT)


On Thu, 1 Aug 2002, Peter Chubb wrote:

> >>>>> "Alexander" == Alexander Viro <viro@math.psu.edu> writes:
>
> Alexander> On Thu, 1 Aug 2002, Peter Chubb wrote:
>
> Alexander> What the bleedin' hell is wrong with <name> <start> <len>\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... <shrug>

-
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/