From owner-freebsd-geom@FreeBSD.ORG Fri Sep 24 21:50:27 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C2A116A4CE for ; Fri, 24 Sep 2004 21:50:27 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 719CE43D3F for ; Fri, 24 Sep 2004 21:50:25 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id i8OLoNk7054733; Fri, 24 Sep 2004 23:50:24 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Paul Mather From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 24 Sep 2004 16:05:48 EDT." <1096056348.9306.87.camel@zappa.Chelsea-Ct.Org> Date: Fri, 24 Sep 2004 23:50:23 +0200 Message-ID: <54732.1096062623@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: freebsd-geom@freebsd.org cc: Chris Elsworth Subject: Re: WARNING: Expected rawoffset 0, found 63 ? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2004 21:50:27 -0000 In message <1096056348.9306.87.camel@zappa.Chelsea-Ct.Org>, Paul Mather writes: >On Fri, 2004-09-24 at 15:19, Chris Elsworth wrote: > >> app1# bsdlabel -r /dev/mirror/gm >> # /dev/mirror/gm: >> 8 partitions: >> # size offset fstype [fsize bsize bps/cpg] >> a: 71119675 16 unused 0 0 >> c: 71119691 0 unused 0 0 # "raw" part, don't edit >> >> >> So now another two things crop up - where has that a partition come from >> (perhaps that's just what bsdlabel -w does by default, no big deal) >> but more importantly, why do they both have an offset of 16 bytes.. >> It didn't seem to mind me changing it to zero, though. So now I'll see >> if I can get it booting :) > >I believe the above is bsdlabel's idea of an "auto" label. I don't know >why the 16 sector offset for the "a" partition, because you don't get >that when you label a slice via sysinstall and choose the "auto >defaults." (Maybe there's a case for making bsdlabel's "auto" label >behave the same as sysinstall.) The 16 offset is to protect the disklabel and boot code. You have no idea how much I hate the person who made the hack to leave the metadata inside the trafic partitions. -- 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.