From owner-freebsd-geom@FreeBSD.ORG Wed Apr 21 17:59:55 2010 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E511106564A; Wed, 21 Apr 2010 17:59:55 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout030.mac.com (asmtpout030.mac.com [17.148.16.105]) by mx1.freebsd.org (Postfix) with ESMTP id 228118FC0C; Wed, 21 Apr 2010 17:59:54 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp030.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L18006UANBOU750@asmtp030.mac.com>; Wed, 21 Apr 2010 10:59:52 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1004210171 From: Marcel Moolenaar In-reply-to: <50691271872096@web136.yandex.ru> Date: Wed, 21 Apr 2010 10:59:48 -0700 Message-id: <75798832-C041-4796-8C10-5BE61FB7583A@mac.com> References: <4BCEE9E2.6010007@yandex.ru> <4BCEEC66.1080804@yandex.ru> <4BCEEF06.8010203@icyb.net.ua> <4BCEF5F8.6090102@yandex.ru> <4BCF04C7.1050701@icyb.net.ua> <50691271872096@web136.yandex.ru> To: "Andrey V. Elsukov" X-Mailer: Apple Mail (2.1078) Cc: Lister , Marcel Moolenaar , Andriy Gapon , freebsd-geom@freebsd.org Subject: Re: OCE and GPT X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2010 17:59:55 -0000 On Apr 21, 2010, at 10:48 AM, Andrey V. Elsukov wrote: > 21.04.10, 16:59, Andriy Gapon: > >>> providers withing scheme. But with GPT we have problem, after >>> booting with bigger media size the second partition table will >>> be lost. And GPT will be broken. >> >> Why? >> Do we have it hardcoded where to look for the secondary GPT? > > Yes. Current implementation does search for second GPT table only at last LBA. > And it violates with UEFI 2.3 specification. No, it's ACCORDING to the specification: UEFI version 2.3, page 99 (paragraph 5.3.1): "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 second logical block), and the backup GPT Header must be located in the last LBA of the device." FYI, -- Marcel Moolenaar xcllnt@mac.com