lkml.org 
[lkml]   [2009]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: ATA support for 4k sector size
Date
H. Peter Anvin wrote:
> Greg Freemyer wrote:
>>
>> I'm not intimate with the details, but I would hope most boot loaders
>> by now use LBA values to find the boot code, not CHS.
>>
>
> Yes, for "true" hard drives this is pretty much universal these days
> (except for MS-DOS and its ilk.) For USB and so on some BIOSes are
> still stuck in old times. Sigh.
>
>> If so the issue becomes the partitioning tools (fdisk etc.) putting
>> the partitions at the right place. Can't those tools bypass the bios
>> somehow and ask the drive itself what it's geometry is?
>
> It can, but it MUST NOT do so. The fields that are to be entered into
> the partition table are BIOS CHS values, not any other kind of CHS.
>
I can recall playing with the disk "geometry" in the expert part of fdisk and
not getting any particular bad effects, so I'm not sure why you MUST NOT other
than the SSD you mentioned. However, the reason it was long ago is that aligning
things in some possibly batter way didn't make a measurable difference in
performance, so I went back to defaults, so I agree with your advice, it doesn't
seem to help.

--
Bill Davidsen <davidsen@tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot



\
 
 \ /
  Last update: 2009-03-22 02:23    [W:0.053 / U:2.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site