From owner-freebsd-current@FreeBSD.ORG Tue Oct 7 14:21:23 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 9283A1065694 for ; Tue, 7 Oct 2008 14:21:23 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 43F658FC1A for ; Tue, 7 Oct 2008 14:21:22 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 42512A06C1; Tue, 7 Oct 2008 16:21:21 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 35F10A06BB; Tue, 7 Oct 2008 16:21:21 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 22886A06AD; Tue, 7 Oct 2008 16:21:21 +0200 (CEST) Received: from wep4035.physik.uni-wuerzburg.de ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2) with ESMTP id 2008100716212060-22450 ; Tue, 7 Oct 2008 16:21:20 +0200 Received: by wep4035.physik.uni-wuerzburg.de (sSMTP sendmail emulation); Tue, 7 Oct 2008 16:21:20 +0200 From: "Alexey Shuvaev" Date: Tue, 7 Oct 2008 16:21:20 +0200 To: Marcel Moolenaar Message-ID: <20081007142120.GA29919@wep4035.physik.uni-wuerzburg.de> References: <20080829205313.GA30330@wep4017.physik.uni-wuerzburg.de> <3a142e750808291416o25b6678bm2b6fa75d0f8e4714@mail.gmail.com> <20080831103555.GA12957@wep4017.physik.uni-wuerzburg.de> <20080920022612.GA4934@localhost.my.domain> <48DFFCB3.5060506@delphij.net> MIME-Version: 1.0 In-Reply-To: <48DFFCB3.5060506@delphij.net> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2|August 07, 2008) at 10/07/2008 04:21:20 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2|August 07, 2008) at 10/07/2008 04:21:21 PM, Serialize complete at 10/07/2008 04:21:21 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-current@freebsd.org Subject: Re: Booting from gpt on i386/amd64? [PATCH] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 07 Oct 2008 14:21:23 -0000 On Sun, Sep 28, 2008 at 02:52:51PM -0700, Xin LI wrote: > > 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? :) > In order for this patch not to be lost I have filed a PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=127922 Alexey.