Date: Sun, 3 Nov 2002 03:13:23 +1100 (EST) From: Bruce Evans <bde@zeta.org.au> To: "Andrey A. Chernov" <ache@nagual.pp.ru> Cc: current@FreeBSD.ORG, <phk@FreeBSD.ORG> Subject: Re: GEOM gets whole disk geometry for slice (instead of slice geometry) Message-ID: <20021103025453.D19652-100000@gamplex.bde.org> In-Reply-To: <20021102133715.GA75254@nagual.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2 Nov 2002, Andrey A. Chernov wrote: > 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. This is because -r causes the raw disk to be read and written, and GEOM is missing the i/o-snooping code that adjusts the offsets even if the labels are accessed by reading and writing the raw disk. > BTW, is there is a way to turn GEOM off, something like NOGEOM kernel > option? I want my old good disklabel back. Just NO_GEOM. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021103025453.D19652-100000>