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_at_FreeBSD.org> FreeBSDReceived on Sun Nov 22 2009 - 17:27:40 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:58 UTC