svn commit: r185096 - in head/sys/boot: i386 i386/gptzfsboot i386/zfsboot zfs

Doug Rabson dfr at
Thu Nov 20 01:14:34 PST 2008

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:
>> 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  

More information about the svn-src-all mailing list