From owner-svn-src-all@FreeBSD.ORG Thu Nov 20 09:14:34 2008 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F8081065673; Thu, 20 Nov 2008 09:14:34 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from itchy.rabson.org (unknown [IPv6:2002:50b1:e8f2:1::143]) by mx1.freebsd.org (Postfix) with ESMTP id EC3918FC18; Thu, 20 Nov 2008 09:14:33 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from [IPv6:2001:470:909f:1:21b:63ff:feb8:5abc] (unknown [IPv6:2001:470:909f:1:21b:63ff:feb8:5abc]) by itchy.rabson.org (Postfix) with ESMTP id 704FA3F9C; Thu, 20 Nov 2008 09:13:18 +0000 (GMT) Message-Id: <3ED1CD56-4F9C-46BD-9EE1-401CB55F378A@rabson.org> From: Doug Rabson To: John Baldwin In-Reply-To: <200811191456.57735.jhb@freebsd.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Thu, 20 Nov 2008 09:14:28 +0000 References: <200811191639.mAJGd1A0022327@svn.freebsd.org> <200811191456.57735.jhb@freebsd.org> X-Mailer: Apple Mail (2.929.2) X-Virus-Scanned: ClamAV 0.92/8652/Thu Nov 20 04:26:16 2008 on itchy.rabson.org X-Virus-Status: Clean Cc: svn-src-head@FreeBSD.org, Doug Rabson , src-committers@FreeBSD.org, svn-src-all@FreeBSD.org Subject: Re: svn commit: r185096 - in head/sys/boot: i386 i386/gptzfsboot i386/zfsboot zfs X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2008 09:14:34 -0000 On 19 Nov 2008, at 19:56, John Baldwin wrote: > On Wednesday 19 November 2008 11:39:01 am Doug Rabson wrote: >> Author: dfr >> Date: Wed Nov 19 16:39:01 2008 >> New Revision: 185096 >> URL: http://svn.freebsd.org/changeset/base/185096 >> >> Log: >> Add a GPT-aware variant of zfsboot which should be used in a similar > manner >> to gptboot, i.e. installed in a freebsd-boot partition using /sbin/ >> gpart > or >> /sbin/gpt. >> >> Tweak the /boot/loader ZFS support so that it can find ZFS pools >> that are >> contained in GPT partitions. > > This is very cool! What I would actually like to do if possible is to > make /boot/gptboot handle both UFS and ZFS (it can key off the > UUIDs) so we > only need a single bootstrap for GPT for both filesystems. We have a > relatively large amount of room for gptboot (we could easily do 128k > if > needbe) and I'd like to take advantage of that to make the user > experience > simpler. I was thinking about this possibility too. It wouldn't be hard to add the UFS reader and use that if there is a freebsd-ufs partition on the disk.