linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [util-linux] cfdisk bug?
@ 2003-03-14 13:33 Andries.Brouwer
  2003-03-14 14:22 ` Russell King
  0 siblings, 1 reply; 2+ messages in thread
From: Andries.Brouwer @ 2003-03-14 13:33 UTC (permalink / raw)
  To: Andries.Brouwer, t_benk; +Cc: linux-kernel

	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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [util-linux] cfdisk bug?
  2003-03-14 13:33 [util-linux] cfdisk bug? Andries.Brouwer
@ 2003-03-14 14:22 ` Russell King
  0 siblings, 0 replies; 2+ messages in thread
From: Russell King @ 2003-03-14 14:22 UTC (permalink / raw)
  To: Andries.Brouwer; +Cc: t_benk, linux-kernel

On Fri, Mar 14, 2003 at 02:33:21PM +0100, Andries.Brouwer@cwi.nl wrote:
> And maybe someone who knows about Acorns can add a test
> to make it less likely that an Acorn is recognized by accident.

Unfortunately, the checksum is all there is to positively identify
this partitioning scheme.  Yes, it's crap, but that's what happens
when there's a lack of direction from the top and people go off and
do their own partitioning schemes.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-14 14:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-14 13:33 [util-linux] cfdisk bug? Andries.Brouwer
2003-03-14 14:22 ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).