Re: [PATCH] msdos: add support for large disks

From: H. Peter Anvin
Date: Thu Mar 04 2010 - 10:32:42 EST


On 03/04/2010 01:18 AM, OGAWA Hirofumi wrote:
"Daniel Taylor"<Daniel.Taylor@xxxxxxx> writes:

It is only the intermediate variables in the module that are
currently hard-coded to 32-bits, and which truncate the values.

BTW, it may not be only 32-bits truncate issue. IIRC, e.g. some
implement is checking the 0xaa mark at the end of sector. I forgot
almost though, IIRC, Windows writes 0xaa mark to the both of "end of
sector" and "end of 512" for compatibility.

Thanks.

The spec is that the mark, partition table etc. at the end of 512 bytes; of course, a lot of people go that wrong.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/