From owner-freebsd-current Mon Nov 4 11:52:32 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB53437B401 for ; Mon, 4 Nov 2002 11:52:30 -0800 (PST) Received: from van-laarhoven.org (ap-z-5ab8.adsl.wanadoo.nl [212.129.218.184]) by mx1.FreeBSD.org (Postfix) with SMTP id 8D81C43E42 for ; Mon, 4 Nov 2002 11:52:29 -0800 (PST) (envelope-from n_hibma@van-laarhoven.org) Received: (qmail 19814 invoked from network); 4 Nov 2002 19:52:27 -0000 Received: from heather.van-laarhoven.org (10.66.0.2) by uitsmijter.van-laarhoven.org with SMTP; 4 Nov 2002 19:52:27 -0000 Date: Mon, 4 Nov 2002 20:52:27 +0100 (CET) From: Nick Hibma To: John Hay Cc: "imp@bsdimp.com" , "current@FreeBSD.ORG" , "phk@critter.freebsd.dk" Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken In-Reply-To: <200211041719.gA4HJvaG014484@zibbi.icomtek.csir.co.za> Message-ID: <20021104205150.L214-100000@heather.van-laarhoven.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hm, the only one that does something different is the iir/iir.c driver. I guess the best thing is to just copy what's in the aha driver. Nick > > > > Let's work on the 'proper' solution first. > > > > What SCSI commands are suitable for getting the geometry, generically > > on a device? > > Hmmm, I made an interesting discovery. I searched through some of the > scsi drivers, sys/dev/{aha|ahb|aic*|sym}, looking for XPT_CALC_GEOMETRY > and they all fake the geometry. :-/ > > > > fdisk likely should do something sane in the face of such insanity, > > > but it is unclear what and fdisk is a royal pita to work on anyway :-( > > John > -- n_hibma@van-laarhoven.org http://www.van-laarhoven.org/ n_hibma@FreeBSD.org http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message