Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 2009 08:42:01 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Robert Noland <rnoland@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: [PATCH] Build a separate ZFS-enabled loader.zfs
Message-ID:  <200911230842.01788.jhb@freebsd.org>
In-Reply-To: <1258914452.2344.18.camel@balrog.2hip.net>
References:  <200911171017.58140.jhb@freebsd.org> <1258914452.2344.18.camel@balrog.2hip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 22 November 2009 1:27:32 pm Robert Noland wrote:
> On Tue, 2009-11-17 at 10:17 -0500, John Baldwin wrote:
> > This patch is a workaround to enabling ZFS support by default in the boot 
> > loader.  It enables building a loader.zfs which is a ZFS-enabled loader 
and 
> > changing zfsboot and gptzfsboot to use /boot/loader.zfs instead 
> > of /boot/loader.  I have only tested that things built ok, I have not 
> > boot-tested it as I don't have ZFS setup anywhere.  The patch is available 
at 
> > http://www.FreeBSD.org/~jhb/loader.zfs/.  You will also need to copy 
> > the 'loader.zfs/Makefile' file from that URL into a new 
> > sys/boot/i386/loader.zfs directory after applying the patch.
> 
> Ok, I made a few changes, but this is tested and working for zfs.  I
> opted to change the loader name to zfsloader, since we tend to prefix
> rather than suffix boot/loader bits and I thought that loader.zfs.old
> looked ugly.  The following should be a complete patch against -CURRENT.
> Note that you do need to reinstall bootcode (zfsboot/gptzfsboot) for
> this to boot the correct loader.
> 
> 
http://people.freebsd.org/~rnoland/0001-Create-a-seperate-zfs-enabled-loader.patch
> 
> robert.

Looks ok to me, commit!

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911230842.01788.jhb>