Re: [PATCH] Build a separate ZFS-enabled loader.zfs

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 23 Nov 2009 08:42:01 -0500
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
Received on Mon Nov 23 2009 - 14:01:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:58 UTC