From owner-svn-src-all@FreeBSD.ORG Fri Dec 10 01:10:50 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0FE7106564A for ; Fri, 10 Dec 2010 01:10:50 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id 5BDE48FC15 for ; Fri, 10 Dec 2010 01:10:50 +0000 (UTC) Received: from c83-255-61-120.bredband.comhem.se ([83.255.61.120]:22818 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1PQrV8-0005Q5-9b for svn-src-all@freebsd.org; Fri, 10 Dec 2010 02:10:25 +0100 Received: (qmail 77520 invoked from network); 10 Dec 2010 02:10:22 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 10 Dec 2010 02:10:22 +0100 Received: (qmail 68800 invoked by uid 1001); 10 Dec 2010 02:10:22 +0100 Date: Fri, 10 Dec 2010 02:10:22 +0100 From: Erik Trulsson To: Andriy Gapon Message-ID: <20101210011022.GB68703@owl.midgard.homeip.net> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D015A09.7070608@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: 83.255.61.120 X-Scan-Result: No virus found in message 1PQrV8-0005Q5-9b. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1PQrV8-0005Q5-9b a0950983fe42c0c1e23adc89086bb33f Cc: Bruce Cran , src-committers@freebsd.org, svn-src-all@freebsd.org, Bruce Evans , Bruce Cran , svn-src-head@freebsd.org, Matthew Jacob Subject: Re: svn commit: r216269 - head/sys/geom/part X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2010 01:10:50 -0000 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.) -- Erik Trulsson ertr1013@student.uu.se