ATA 4 KiB sector issues.
The only reason I see to care about CHS at all is that there are systems in the field which can only boot from USB in CHS mode, and which often look at the MBR partition table to guess the geometry. Of course, some then *report* the detected geometry but don't *use* the detected geometry...
Quoted 23 lines · Ric Wheeler
Quoted 18 lines · Tejun Heo
Hello,
Quoted 6 lines · James Bottomley
Quoted 2 lines
So, using custom geometry doesn't help compatibility at all.
Our partitioning tool still obey the integral cylinder rule ... we can argue about whether they should, but what we need is a strategy for fixing what is rather than what should be.
The updated ones don't anymore. They just align to 1MiB + whatever the drive requests for offset (the offset-by-one thing). They will basically behave the same as windows vista/7 ones, so it's already fixed. What we can argue is whether adding CHS tricks on top to make those larger alignments somewhat meaningful w/ CHS interpretation too, which I'm objecting on the ground that it doesn't help compatibility at all.
Quoted 3 lines
Thanks.
Quoted 9 lines
Dropping any mention of CHS seems to be the only sensible thing. Why waste any time to continue some myth about drives that no modern hardware supports (and then have the joy of explaining that to users)?
Talking about it only confuses people and in the worst case, could cause them to misalign their partitions by clinging to these pretend borders :-)
ric
--
Sent from my mobile phone, pardon any lack of formatting.
Quoted 3 lines · H. Peter Anvin
The only reason I see to care about CHS at all is that there are systems in the field which can only boot from USB in CHS mode, and which often look at the MBR partition table to guess the geometry. Of course, some then *report* the detected geometry but don't *use* the detected geometry...
These systems, given the changes in modern microsoft releases, must be doomed even without any effort on our part.
I still think that we should work to make this ancient stuff disappear & help force the legacy edge cases to modernize. It has been some huge amount of time since storage vendors pretty much abandoned CHS (15 years? 20?) :-)
ric
Quoted 7 lines · Ric Wheeler
Quoted 5 lines · H. Peter Anvin
The only reason I see to care about CHS at all is that there are systems in the field which can only boot from USB in CHS mode, and which often look at the MBR partition table to guess the geometry. Of course, some then *report* the detected geometry but don't *use* the detected geometry...
Quoted 8 lines
These systems, given the changes in modern microsoft releases, must be doomed even without any effort on our part.
I still think that we should work to make this ancient stuff disappear & help force the legacy edge cases to modernize. It has been some huge amount of time since storage vendors pretty much abandoned CHS (15 years? 20?) :-)
I wish. This is mostly systems from the first half of the 2000's timeframe. There was a *huge* regression when BIOS vendors started doing USB boot; almost all of them introduced major bugs at that time; in many cases they still haven't been fixed.
-hpa