Re: [util-linux] cfdisk bug?

Andries.Brouwer@cwi.nl
Fri, 14 Mar 2003 14:33:21 +0100 (MET)


From: Timo Benk <t_benk@web.de>

[report on cfdisk failure where other *fdisk work,
where things are fine with different size partitions,
where things are fine when the bootable bit is set]

Ha - I see what happens. You have CONFIG_ACORN_PARTITION_POWERTEC
set. The Acorn code checks an 8-bit checksum over block 0,
and believes that you have an Acorn partition when that
checksum is OK.
So, everybody has a chance of 1 in 256 of having her block 0
recognized as a POWERTEC partition. And indeed, minor changes
will fix the situation.

Assuming that you do not actually have an Acorn, you can
switch off this configuration option.

I'll cc this to linux-kernel, so that problem and solution
are documented on a public list.

And maybe someone who knows about Acorns can add a test
to make it less likely that an Acorn is recognized by accident.

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