From owner-freebsd-hackers Sun Mar 16 08:52:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA06440 for hackers-outgoing; Sun, 16 Mar 1997 08:52:03 -0800 (PST) Received: from helbig.informatik.ba-stuttgart.de (helbig.informatik.ba-stuttgart.de [141.31.166.22]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA06413 for ; Sun, 16 Mar 1997 08:51:54 -0800 (PST) Received: (from helbig@localhost) by helbig.informatik.ba-stuttgart.de (8.8.5/8.8.5) id RAA02230; Sun, 16 Mar 1997 17:51:07 +0100 (MET) From: Wolfgang Helbig Message-Id: <199703161651.RAA02230@helbig.informatik.ba-stuttgart.de> Subject: Re: wd driver questions In-Reply-To: <199703161530.IAA03754@seagull.rtd.com> from Don Yuniskis at "Mar 16, 97 08:30:41 am" To: dgy@rtd.com (Don Yuniskis) Date: Sun, 16 Mar 1997 17:51:05 +0100 (MET) Cc: hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Greetings and Hallucinations! > > > It appears that boot.c uses the disk geometry obtained from the > BIOS (I think getdiskinfo() or something like that which looks > at the disk parameter table entry for each disk). Is this > correct? Think so. > However, the probe for wd appears to query the drive (with an > IDENTIFY command) to obtain these parameters. Is this also > correct? Think so. > And, how (if at all) does the geometry written to the disklabel > figure into the operation/calculations of the driver? As far as I could decipher from the driver code (wd.c) the probed geometry is used only to read the label. From there on the geometry read from the label is used exclusively by the driver. Both are the same, if you disklabel auto. But I'm not really sure about my findings. > > Thx! > --don >