From owner-freebsd-current Sat Nov 2 5:37:21 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 B422637B401; Sat, 2 Nov 2002 05:37:20 -0800 (PST) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5395743E77; Sat, 2 Nov 2002 05:37:19 -0800 (PST) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.6/8.12.6) with ESMTP id gA2DbG77075344; Sat, 2 Nov 2002 16:37:17 +0300 (MSK) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.6/8.12.6/Submit) id gA2DbGAa075343; Sat, 2 Nov 2002 16:37:16 +0300 (MSK) (envelope-from ache) Date: Sat, 2 Nov 2002 16:37:16 +0300 From: "Andrey A. Chernov" To: current@FreeBSD.ORG, phk@FreeBSD.ORG Subject: Re: GEOM gets whole disk geometry for slice (instead of slice geometry) Message-ID: <20021102133715.GA75254@nagual.pp.ru> References: <20021027003747.GA10503@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021027003747.GA10503@nagual.pp.ru> User-Agent: Mutt/1.5.1i 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 On Sun, Oct 27, 2002 at 03:37:47 +0300, Andrey A. Chernov wrote: > I have disk shared between FreeBSD and M$ Win, two slices, and got > incorrect disklabel with GEOM kernel. Namely "cylinders" and > "sectors/unit" fields are from _whole_ disk, not from just requested > slice. Just found more brokeness: 'disklabel -r ad0s1' and 'disklabel ad0s1' shows different results, for -r case 63 added to "offset" field of all a, b and c partitions. BTW, is there is a way to turn GEOM off, something like NOGEOM kernel option? I want my old good disklabel back. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message