Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 2010 02:10:22 +0100
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        Bruce Cran <bruce@cran.org.uk>, src-committers@freebsd.org, svn-src-all@freebsd.org, Bruce Evans <brde@optusnet.com.au>, Bruce Cran <brucec@freebsd.org>, svn-src-head@freebsd.org, Matthew Jacob <mj@feral.com>
Subject:   Re: svn commit: r216269 - head/sys/geom/part
Message-ID:  <20101210011022.GB68703@owl.midgard.homeip.net>
In-Reply-To: <4D015A09.7070608@freebsd.org>
References:  <201012072046.oB7KkB4L079555@svn.freebsd.org> <4CFEAD09.30904@freebsd.org> <4CFEAFA6.4020103@feral.com> <4CFEB1AD.70906@freebsd.org> <20101208153857.H1428@besplex.bde.org> <20101208225235.501ced0e@core.draftnet> <20101209191657.B1400@besplex.bde.org> <20101209221458.42448075@core.draftnet> <4D015A09.7070608@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 :-)


No. Those bytes may be obsolete, and might be reserved by the latest
version(s) of the ATA standard, but they are not unused and they do not
contain garbage.  They do contain CHS parameters as set by the drive
manufacturers, and should continue to be reported as such by the tools
we have that provide disk information.

If they should be used for anything other than just listing what the
drive reports is another question, to which the answer is probably no,
since the values reported do not match the actual geometry of the
drives (and haven't done so for many years now.)




-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101210011022.GB68703>