Re: [RFC] 2.5.28 and partitions

Thunder from the hill
2002-08-02T21:34:03Z

Hi,

On Fri, 2 Aug 2002, Mike Touloumtzis wrote:
> fprintf(f, "%u %u %u%c", foo, bar, baz, '\0');

Yes, that's crap... However, what about the following partition table
format:

<size>\0<part1>\n<part2>\n<part...>\n<partn>\0

Size represents the complete size of the partition table. partx defines
the partitions that we have, part1 starts at
(size % BLOCK_SIZE ?
drive_start+(size/BLOCK_SIZE) :
drive_start+(SIZE/BLOCK_SIZE)+1)

String encoding is possible, not a requirement...

Thunder
--
.-../../-./..-/-..- .-./..-/.-.././.../.-.-.-