From owner-freebsd-current@FreeBSD.ORG Mon May 5 07:25:01 2003 Return-Path: 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 495E137B401 for ; Mon, 5 May 2003 07:25:01 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 344D643FB1 for ; Mon, 5 May 2003 07:25:00 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h45EOqLr041585; Mon, 5 May 2003 16:24:59 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: "Daniel C. Sobral" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 05 May 2003 11:09:55 -0300." <3EB670B3.6030005@tcoip.com.br> Date: Mon, 05 May 2003 16:24:52 +0200 Message-ID: <41584.1052144692@critter.freebsd.dk> cc: walt cc: freebsd-current@freebsd.org Subject: Re: bsdlabel question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 14:25:01 -0000 In message <3EB670B3.6030005@tcoip.com.br>, "Daniel C. Sobral" writes: >Disklabel offsets are 0-based. It doesn't matter where the _slice_ >starts, the partition offset always has the beginning of the slice as >reference. I wish it were that simple. Unfortunately, FreeBSD <5.x adds the offset of the MBR slice to the disk-image of the BSD label :-( -- 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.