[parted-devel] > 63 heads. Why does this keep coming up?

Curtis Gedak gedakc at gmail.com
Thu Feb 3 17:49:41 UTC 2011


Hi Brian,

On 11-02-02 02:40 PM, Brian C. Lane wrote:
> Does anyone know why this is happening?

The relevant section of code from the git repository can be viewed at 
the following link:

http://git.debian.org/?p=parted/parted.git;a=blob;f=libparted/labels/dos.c;h=578180bc6658d5f4e0812d5976a1499bc95c8d9b;hb=HEAD#l726

In this section, it appears that the head size (not to be confused with 
number of heads) is being calculated using a combination of the LBA 
values and CHS values.   I think this might be a double-check to ensure 
that the LBA and CHS values match, though this is just a guess.

I have requested a copy of the MBR in the following mailing list post:

    Verbatim USB drive crashes libparted
    http://lists.gnu.org/archive/html/bug-parted/2011-02/msg00000.htm

With the MBR, we might manually work out the calculation and perhaps 
gain a clue as to why this problem is occurring.

Regards,
Curtis Gedak
(Maintainer of GParted)



More information about the parted-devel mailing list