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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to