From owner-freebsd-current@FreeBSD.ORG Sun Sep 28 21:53:02 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F487106568F for ; Sun, 28 Sep 2008 21:53:02 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id A682F8FC1D for ; Sun, 28 Sep 2008 21:53:01 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [211.166.10.233]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id 798F228454 for ; Mon, 29 Sep 2008 05:53:00 +0800 (CST) Received: from localhost (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id E41DBF68213; Mon, 29 Sep 2008 05:52:59 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by localhost (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with ESMTP id 2+YDYFSziJqO; Mon, 29 Sep 2008 05:52:55 +0800 (CST) Received: from delta.delphij.net (c-76-103-40-85.hsd1.ca.comcast.net [76.103.40.85]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id 0598EF65125; Mon, 29 Sep 2008 05:52:53 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=AYoSZE/cyzl3hdab5IQvqTT4TXkEPvqobjYKsr4omYt3AP3KyISOX52ftlr8yMqtX Rz592cyLNzTVIuHvfW9gw== Message-ID: <48DFFCB3.5060506@delphij.net> Date: Sun, 28 Sep 2008 14:52:51 -0700 From: Xin LI Organization: The Geek China Organization User-Agent: Thunderbird 2.0.0.17 (X11/20080926) MIME-Version: 1.0 To: Marcel Moolenaar References: <20080829205313.GA30330@wep4017.physik.uni-wuerzburg.de> <3a142e750808291416o25b6678bm2b6fa75d0f8e4714@mail.gmail.com> <20080831103555.GA12957@wep4017.physik.uni-wuerzburg.de> <20080920022612.GA4934@localhost.my.domain> In-Reply-To: X-Enigmail-Version: 0.95.7 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Alexey Shuvaev , FreeBSD Current Subject: Re: Booting from gpt on i386/amd64? [PATCH] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2008 21:53:02 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Marcel, Marcel Moolenaar wrote: > > On Sep 19, 2008, at 7:26 PM, Alexey Shuvaev wrote: > >> Ok, I have digged the sources a little bit and ended with this simple >> patch. Actually, the code is taken from gpt(8) utility. >> It adds automatic padding of gptboot bootcode to the nearest sector >> boundary. > > I think this is reasonable. Could you please commit the proposed patch? :) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjf/LMACgkQi+vbBBjt66AfpwCfaafhZUA9JJZqy3InGF6YiGlg Aj0AmgK6QCYUdDPP93lGWAsqkBtxMpvd =/clW -----END PGP SIGNATURE-----