From owner-freebsd-current Fri Oct 4 23:23:51 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 AB52C37B401; Fri, 4 Oct 2002 23:23:49 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id D140E43E3B; Fri, 4 Oct 2002 23:23:48 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g956NipS082712; Sat, 5 Oct 2002 08:23:44 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: "Greg 'groggy' Lehey" Cc: Robert Watson , Ian Dowse , n0go013 , current Subject: Re: [ GEOM tests ] disklabel warnings and vinum drives lost In-Reply-To: Your message of "Sat, 05 Oct 2002 13:41:14 +0930." <20021005041114.GL83766@wantadilla.lemis.com> Date: Sat, 05 Oct 2002 08:23:44 +0200 Message-ID: <82711.1033799024@critter.freebsd.dk> From: Poul-Henning Kamp 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 In message <20021005041114.GL83766@wantadilla.lemis.com>, "Greg 'groggy' Lehey" writes: >I don't know how GEOM handles disk labels, though we've heard a lot >about changes. It's possible that this code is now completely >redundant. It's preparing to write at offset 8 sectors and on from >the beginning of the partition; it would be worth checking what >happens if you just remove the whole disk label writeable stuff. In GEOM you will only find disklabels on disks which have them. That means that there will not be disklabels on sparc64 (unless somebody decides to put them there for obscure reasons). Struct disklabel is being demoted from "generic communicator of disk geometry parameters" because it doesn't do a very good job at it: it's 32bit. And rather than invent a new proprietry 64bit format, we have disbanded the idea in toto, and treated the four real-life geometry parameters individually. mediasize sectorsize fwsectors fwheads The last two are only to be used to read/write firmware/bootstrap compatible magic data on the disks. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message