[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B9440FC.3090502@zytor.com>
Date: Sun, 07 Mar 2010 16:12:44 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
CC: Andrew Morton <akpm@...ux-foundation.org>,
Daniel Taylor <Daniel.Taylor@....com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] msdos: add support for large disks
On 03/07/2010 04:09 PM, OGAWA Hirofumi wrote:
>
> It means,
>
> min(size, max(logical_sector_size / 512, 2));
>
> or like this? ("size" is "nr_sects(part) * (logical_sector_size/512)")
>
> This should keep old logic, i.e. if partition is bigger than 1kb, it
> uses 1kb for (probably) LILO mentioned by comment.
>
I don't really know where the 1K cames from, and it isn't necessarily
safe, either.
-hpa
--
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