From owner-freebsd-commit Wed Apr 12 12:31:47 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA21376 for commit-outgoing; Wed, 12 Apr 1995 12:31:47 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA21361 for cvs-sys-outgoing; Wed, 12 Apr 1995 12:31:39 -0700 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id MAA21353 ; Wed, 12 Apr 1995 12:31:36 -0700 Received: (from phk@localhost) by ref.tfs.com (8.6.8/8.6.6) id MAA09852; Wed, 12 Apr 1995 12:30:35 -0700 From: Poul-Henning Kamp Message-Id: <199504121930.MAA09852@ref.tfs.com> Subject: Re: cvs commit: src/sys/scsi scsi_base.c To: bde@zeta.org.au (Bruce Evans) Date: Wed, 12 Apr 1995 12:30:34 -0700 (PDT) Cc: ache@freefall.cdrom.com, CVS-commiters@freefall.cdrom.com, ache@astral.msk.su, cvs-sys@freefall.cdrom.com, dufault@hda.com, julian@tfs.com In-Reply-To: <199504121922.FAA23975@godzilla.zeta.org.au> from "Bruce Evans" at Apr 13, 95 05:22:48 am Content-Type: text Content-Length: 1291 Sender: commit-owner@FreeBSD.org Precedence: bulk > (1) I oversimplified. It isn't useful if it differs from the BIOS > geometry. E.g., ESDI drives sometimes say that they have 2 more > cylinders than they have, and ESDI and IDE drives may be configured > with a different geometry than the one claimed by the drive if the > BIOS supports this. I think those +2 is our fault... > (2) I oversimplified. It isn't bogus if it is the same as the > physical geometry; there are various levels of bogusness depending > on how well translations are hidden from the software. But it comes out to the size of the disk after all... > (3) I oversimplified. It's useful if the BIOS geometry is unknown > or wrong. E.g., for my 4.3G drive, the BIOS geometry may be is > C=1023/H=64/S=32, which loses over 3/4 of the drive, while the > geometry printed by the recently restored printf is > "(8410200 S), 4076 C 20 H 103 S/T". The problem will be worse for > drives larger than 8GB. I consider ""(8410200 S)" size, which is useful, and "4076 C 20 H 103 S/T" geometry which is bogus... > (4) I oversimplified. The number of sectors/track is usually an > average... -- Poul-Henning Kamp -- TRW Financial Systems, Inc. 'All relevant people are pertinent' && 'All rude people are impertinent' => 'no rude people are relevant'