From owner-freebsd-current Mon Nov 4 9:20:50 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 B6E2937B401 for ; Mon, 4 Nov 2002 09:20:49 -0800 (PST) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12A4F43E4A for ; Mon, 4 Nov 2002 09:20:47 -0800 (PST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: from zibbi.icomtek.csir.co.za (localhost [IPv6:::1]) by zibbi.icomtek.csir.co.za (8.12.6/8.12.6) with ESMTP id gA4HK2D8014493; Mon, 4 Nov 2002 19:20:02 +0200 (SAT) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.12.6/8.12.6/Submit) id gA4HJvaG014484; Mon, 4 Nov 2002 19:19:57 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200211041719.gA4HJvaG014484@zibbi.icomtek.csir.co.za> Subject: Re: umass CF geometry problems, was Re: fdisk -BI ob clean disk broken In-Reply-To: <20021104094650.U17734-100000@uitsmijter.van-laarhoven.org> from Nick Hibma at "Nov 4, 2002 09:51:07 am" To: n_hibma@van-laarhoven.org (Nick Hibma) Date: Mon, 4 Nov 2002 19:19:57 +0200 (SAT) Cc: imp@bsdimp.com, current@FreeBSD.ORG, phk@critter.freebsd.dk X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 > > 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 -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message