[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 3 Mar 2010 14:50:02 -0800
From: "Daniel Taylor" <Daniel.Taylor@....com>
To: "OGAWA Hirofumi" <hirofumi@...l.parknet.co.jp>,
"Andrew Morton" <akpm@...ux-foundation.org>
Cc: <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] msdos: add support for large disks
-----Original Message-----
From: OGAWA Hirofumi [mailto:hirofumi@...l.parknet.co.jp]
Sent: Wednesday, March 03, 2010 6:02 AM
To: Andrew Morton
Cc: Daniel Taylor; linux-kernel@...r.kernel.org
Subject: Re: [PATCH] msdos: add support for large disks
Andrew Morton <akpm@...ux-foundation.org> writes:
>> On Wed, 24 Feb 2010 19:17:47 -0800
>> "Daniel Taylor" <Daniel.Taylor@....com> 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?
Windows XP does not support GPT, although Vista/7 do.
> And to make sure, "4096-byte logical sectors in an MBR" is meaning, the
storage must be supporting 4096B and is using it?
The drives report physical/logical sector sizes of 4096 bytes, which the
kernel correctly detects. 32-bit fields in the MBR are then sufficient for
storage capacites >2TiB (up to 16 TiB), and the storage in struct
parsed_partitions is already sector_t.
>>> 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@...l.parknet.co.jp> 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 fs/partitions/.
This is definitely a change in fs/partitions (fs/partitions/msdos.c). I
could not find a maintainer for fs/partitions, but FAT and MBR are vaguely
related. Andrew Morton asked me to copy you on the change, also.
> 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 specification.
Sanity checking patches is a good idea, particularly from someone who has no
other significant change in place.
> Thanks.
--
OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists