Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Nov 2009 12:27:32 -0600
From:      Robert Noland <rnoland@FreeBSD.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        current@FreeBSD.org
Subject:   Re: [PATCH] Build a separate ZFS-enabled loader.zfs
Message-ID:  <1258914452.2344.18.camel@balrog.2hip.net>
In-Reply-To: <200911171017.58140.jhb@freebsd.org>
References:  <200911171017.58140.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
Robert Noland <rnoland@FreeBSD.org>
FreeBSD




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