From owner-freebsd-questions@FreeBSD.ORG Wed Sep 6 20:06:44 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D887C16A4DA for ; Wed, 6 Sep 2006 20:06:44 +0000 (UTC) (envelope-from ihilt@mcgregor-surmount.com) Received: from mcgregor-surmount.com (mail.mcgregor-surmount.com [70.61.40.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BE9B43D45 for ; Wed, 6 Sep 2006 20:06:43 +0000 (GMT) (envelope-from ihilt@mcgregor-surmount.com) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Wed, 6 Sep 2006 16:06:39 -0400 Message-ID: <890E919AB0857D4A8A52A4AD5E0F0F6221A1C2@msc-server.msc.mcgregor-surmount.com> In-Reply-To: <91AFEF09-05EE-41BE-846F-665FBE64EE06@mac.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Origin of hard drive parameters Thread-Index: AcbR5gIlRpdtWooPS820elxUZ4PaQAABQ2BQ From: "Hilt, Ian" To: "Chuck Swiger" Cc: freebsd-questions@freebsd.org Subject: RE: Origin of hard drive parameters X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 20:06:44 -0000 > -----Original Message----- > From: Chuck Swiger [mailto:cswiger@mac.com]=20 > Sent: Wednesday, September 06, 2006 2:55 PM > To: Hilt, Ian > Cc: freebsd-questions@freebsd.org > Subject: Re: Origin of hard drive parameters >=20 > On Sep 6, 2006, at 11:40 AM, Hilt, Ian wrote: > > Basically, I want to know where the BIOS gets the hard drive =20 > > parameters > > when the Drive Type is set to "AUTO" in the BIOS=20 > configuration. The =20 > > best > > I've been able to come up with from the internet is an "IDENTIFY" > > command that purportedly > > () gets its > > information from the "IDE controller". This does not answer my =20 > > question > > completely. Are the parameters returned by the controller hard coded > > into a chip on the board or are they on the platters of the hard =20 > > drive, > > or neither? >=20 > "Neither" is probably the best answer. >=20 > The hard disk has an on-board controller which answers the ATA =20 > "IDENTIFY DEVICE" command with the hard drive parameters used by the =20 > BIOS, assuming that the BIOS is operating in the legacy C/H/S mode =20 > rather than the newer LBA mode which uses absolute block numbers. Ok. Maybe the better question is: in either case, C/H/S or LBA mode, where are these parameters stored? =20 > Note that the answer the drive controller gives will normally be a =20 > fabricated geometry which does not have anything to do with the =20 > actual geometry of the physical device, in part because drives =20 > nowadays keep a variable number of sectors per track rather than =20 > using a CAV layout. >=20 If CAV =3D=3D Constant Angular Velocity, I thought this layout stored a variable number of sectors per track, as opposed to CLV which stores data at a constant density over the platters. Ian Graeme Hilt