svn commit: r216269 - head/sys/geom/part

Kostik Belousov kostikbel at
Thu Dec 9 22:56:13 UTC 2010

On Fri, Dec 10, 2010 at 12:36:57AM +0200, Andriy Gapon wrote:
> on 10/12/2010 00:14 Bruce Cran said the following:
> > Since it appears that disks are still using the CHS fields despite
> > having been obsolete since ATA-7 I guess it makes sense to continue
> > printing them.
> I apologize for repeating myself, that probably starts to be annoying...
> We read some reserved/unused/obsolete bytes and get some garbage in them.
> The fact that the garbage looks like "valid" (for some definition of "valid")
> CHS parameters doesn't mean that those are really valid, or CHS parameters, or
> we should use them, or we should even report them, even for debug.
> That's my personal position and I am sticking to it :-)

I think that the drive manufacturers are trying to be compatible not only
with the latest ATA specifications, but also with the reasonable set of
previous revisions of the specs. At least they do this to allow older
BIOSes or DOS or whatever old software user has to continue to work.

So, althought the fields are marked as reserved by newest spec, they
still filled with something semi-reasonable to satisfy (very) old
software. I think it is safe to read and interpret the values still.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url :

More information about the svn-src-all mailing list