Re: [PATCH] msdos: add support for large disks
From: OGAWA Hirofumi
Date: Wed Mar 03 2010 - 09:02:17 EST
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> writes:
> On Wed, 24 Feb 2010 19:17:47 -0800
> "Daniel Taylor" <Daniel.Taylor@xxxxxxx> wrote:
>> In order to use disks larger than 2TiB on Windows XP, it is necessary to use
>> 4096-byte logical sectors in an MBR.
BTW, you can use GPT instead?
And to make sure, "4096-byte logical sectors in an MBR" is meaning, the
storage must be supporting 4096B and is using it?
>> Although the kernel storage and functions called from msdos.c used
>> "sector_t" internally, msdos.c still used u32 variables, which results in
>> the ability to handle XP-compatible large disks.
>> This patch changes the internal variables to "sector_t".
> Please Cc OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> and myself on
> this work.
BTW, to make sure, this is fs/partitions/, not fs/fat/. So, I'm not
sure, my knowledge is enough or not, and/or you just missed
Well, I'll make time to check. BTW, basically it sounds good to me
except implementation details. But, I'd like to compare and check other
implement a bit if possible. IIRC, this is not a well defined
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
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/