bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Big Problem with Windows Me


From: Andrew Clausen
Subject: Re: Big Problem with Windows Me
Date: Thu, 22 Feb 2001 13:07:42 -0300

"J. Henning Schwentner" wrote:
> what do you think about the attached patch?
> 
> If the start (end) cyl, calculated from LBA start (start + length - 1) value
> is greater than 1023, there will be no check for the CHS start (end)
> cylinder.

Thanks for sending this in :-)

First, the geometry that we have from Linux (dev->sectors, dev->heads,
etc.)
is unreliable, so we shouldn't make too many judgements from it.  (What
if the heads are really less... in this case, your patch may reject
valid
partition tables)

Second, you didn't take care of endianness!

I've already made a change, that disables checking if the LBA flag on
the partition is set.

I should upload this today.

Thanks,
Andrew Clausen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]