From owner-freebsd-current Sat Nov 2 5:56:25 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 F28AD37B401; Sat, 2 Nov 2002 05:56:23 -0800 (PST) Received: from angelica.unixdaemons.com (angelica.unixdaemons.com [209.148.64.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 495F343E6E; Sat, 2 Nov 2002 05:56:23 -0800 (PST) (envelope-from hiten@angelica.unixdaemons.com) Received: from angelica.unixdaemons.com (hiten@localhost.unixdaemons.com [127.0.0.1]) by angelica.unixdaemons.com (8.12.5/8.12.1) with ESMTP id gA2DuI5N062683; Sat, 2 Nov 2002 08:56:18 -0500 (EST) X-Authentication-Warning: angelica.unixdaemons.com: Host hiten@localhost.unixdaemons.com [127.0.0.1] claimed to be angelica.unixdaemons.com Received: (from hiten@localhost) by angelica.unixdaemons.com (8.12.5/8.12.1/Submit) id gA2DuIbD062682; Sat, 2 Nov 2002 08:56:18 -0500 (EST) (envelope-from hiten) Date: Sat, 2 Nov 2002 08:56:18 -0500 From: Hiten Pandya To: "Andrey A. Chernov" Cc: current@FreeBSD.ORG, phk@FreeBSD.ORG Subject: Re: GEOM gets whole disk geometry for slice (instead of slice geometry) Message-ID: <20021102085618.A62590@angelica.unixdaemons.com> References: <20021027003747.GA10503@nagual.pp.ru> <20021102133715.GA75254@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021102133715.GA75254@nagual.pp.ru>; from ache@nagual.pp.ru on Sat, Nov 02, 2002 at 04:37:16PM +0300 X-Operating-System: FreeBSD i386 X-Public-Key: http://www.pittgoth.com/~hiten/pubkey.asc X-URL: http://www.unixdaemons.com/~hiten X-PGP: http://pgp.mit.edu:11371/pks/lookup?search=Hiten+Pandya&op=index 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 Sat, Nov 02, 2002 at 04:37:16PM +0300, Andrey A. Chernov wrote the words in effect of: > 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. > I think it is NO_GEOM, but I am not sure, grep'ing for NO_GEOM does not come up with anything though, but give it a try. Cheers. -- Hiten Pandya hiten@unixdaemons.com, hiten@uk.FreeBSD.org, hiten@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message