From owner-freebsd-stable@FreeBSD.ORG Sun Feb 19 06:37:05 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD06A1065674 for ; Sun, 19 Feb 2012 06:37:05 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 261D58FC0A for ; Sun, 19 Feb 2012 06:37:04 +0000 (UTC) Received: by wibhn14 with SMTP id hn14so3652467wib.13 for ; Sat, 18 Feb 2012 22:37:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=6k1xHi7tjjRGx5btZZ4YKTwmLl3LblBKB4P2Gz3x05s=; b=EZYU4amd0/HXuV+8tFRxPf8jdm4NXqJAZzB9ZAE290nnsrZWFq5xQEDKLW5dKOr73v Tge9Jtt5LTLyGXGEY1+6PgmqVwKVxtjtFEy/z3ZPgO+kHQdoKa7zcJMOkAPiF0VFXU9y 5vLBWpiN2Ci9ddnig4hvw4a2n2XMs4G9V5aV8= MIME-Version: 1.0 Received: by 10.180.107.67 with SMTP id ha3mr6745698wib.8.1329633424001; Sat, 18 Feb 2012 22:37:04 -0800 (PST) Received: by 10.223.158.143 with HTTP; Sat, 18 Feb 2012 22:37:03 -0800 (PST) In-Reply-To: References: <20120217.160430.406937514120319292.hrs@allbsd.org> <4F3E3000.9000206@FreeBSD.org> <20120217.232843.2212672671663755444.hrs@allbsd.org> <4F3EC8DD.6040500@FreeBSD.org> Date: Sat, 18 Feb 2012 22:37:03 -0800 Message-ID: From: Kevin Oberman To: Freddie Cash Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: wblock@wonkity.com, mandrews@bit0.com, 000.fbsd@quip.cz, Andriy Gapon , freebsd-stable@freebsd.org, freebsd@jdc.parodius.com Subject: Re: New BSD Installer X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2012 06:37:05 -0000 On Fri, Feb 17, 2012 at 1:50 PM, Freddie Cash wrote: > On Fri, Feb 17, 2012 at 1:38 PM, Andriy Gapon wrote: >> And just in case: >> Unified Extensible Firmware Interface Specification Version 2.3.1, Errat= a A >> September 7, 2011 says: >> [snip] >>> Two GPT Header structures are stored on the device: the primary and the >>> backup. The primary GPT Header must be located in LBA 1 (i.e., the seco= nd >>> logical block), and the backup GPT Header must be located in the last L= BA >>> of the device. >> >> I can not see any ambiguity or openness to interpretation in this paragr= aph. > > Unless it's specified somewhere else (which is possible), in this > paragraph, "device" does not necessarily mean "physical disk". =A0"Last > LBA of the device" could be interpreted as "last LBA of the GEOM > provider". > > The beauty of GEOM is that "device" is whatever logical mapping it provid= es. > > After all, LBAs are logical addresses (it's right there in the name!), > not hardwired physical sector addresses. =A0;) =A0If they were hardwired, > then how would internal sector remapping work? =A0;) Please remember that some disks are dual-boot. FreeBSD may understand geom has the backup one block from the last LBA on the disk, but no other OS is likely to do so. Unless I am missing something, this should be a non-starter. Totally unacceptable. The backup belongs in the last and only in the last LBA on the physical disk. --=20 R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com