From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 7 19:29:42 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22AFE16A4E2 for ; Mon, 7 Aug 2006 19:29:42 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD7D643D69 for ; Mon, 7 Aug 2006 19:29:30 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id k77JTN4R036769; Mon, 7 Aug 2006 15:29:25 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Mon, 7 Aug 2006 15:09:08 -0400 User-Agent: KMail/1.9.1 References: <20060731203213.GA75233@hades.panopticon> <864pwtoorp.fsf@xps.des.no> <20060806145954.GC907@hades.panopticon> In-Reply-To: <20060806145954.GC907@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608071509.08923.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Mon, 07 Aug 2006 15:29:26 -0400 (EDT) X-Virus-Scanned: ClamAV 0.87.1/1639/Mon Aug 7 09:34:09 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Dag-Erling Sm?rgrav , Dmitry Marakasov Subject: Re: absolute vs. relative offsets in disklabel X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Aug 2006 19:29:42 -0000 On Sunday 06 August 2006 10:59, Dmitry Marakasov wrote: > * Dag-Erling Sm?rgrav (des@des.no) wrote: > > > Recent `disklabel differences FreeBSD, DragonFly' thread gave me a > > > thought - why do we have absolute offsets in disklabel? > > We don't, AFAIK. Since the transition to GEOM, the offsets are > > relative to the start of the containing provider. > It has nothing to do with GEOM, it's ondisk format of disklabel. I've > confirmed, there are global offsets. Actually, the GEOM provider goes though some gymnastics to portray the offsets as relative to userland, but ondisk they are still stored as absolute to preserve compatiblity. -- John Baldwin