Re: 2.5.28 and partitions

Alexander Viro
2002-07-31T23:38:46Z

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>