lkml.org 
[lkml]   [2003]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [util-linux] cfdisk bug?
	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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.021 / U:3.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site