lkml.org 
[lkml]   [2010]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2010-03-08 01:15    [from the cache]
©2003-2011 Jasper Spaans