Date: Mon, 20 Sep 2010 16:46:33 +0300 From: Andriy Gapon <avg@icyb.net.ua> To: John Hay <jhay@meraka.org.za> Cc: Boris Samorodov <bsam@ipt.ru>, freebsd-current@FreeBSD.org, Pawel Jakub Dawidek <pjd@FreeBSD.org>, krad <kraduk@gmail.com>, freebsd-arch@FreeBSD.org Subject: Re: gptboot rewrite, bootonce, etc. Message-ID: <4C9765B9.2000405@icyb.net.ua> In-Reply-To: <20100920133732.GA66641@zibbi.meraka.csir.co.za> References: <20100917234542.GE1902@garage.freebsd.pl> <16411667@ipt.ru> <AANLkTi=giSyr6ZAeMrBs9k-o5iZ0CAgS7Ta4z0DXp5hX@mail.gmail.com> <20100920124707.GB2410@garage.freebsd.pl> <4C975AA8.1040106@icyb.net.ua> <20100920133732.GA66641@zibbi.meraka.csir.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
on 20/09/2010 16:37 John Hay said the following: > On Mon, Sep 20, 2010 at 03:59:20PM +0300, Andriy Gapon wrote: >> on 20/09/2010 15:47 Pawel Jakub Dawidek said the following: >>> No, it doesn't. ZFS works a bit differently. ZFS operate on pools, not >>> really on partitions. One ZFS file system can span multiple >>> disks/partitions. I'm not yet sure how to implement it, so it is >>> intuitive, but I also haven't spend much time thinking about it. We >>> needed UFS and that is what I implemented. It took me much more time >>> than I expected anyway:) >> >> Maybe reserve some area inside zfs boot2 and put relevant information there. >> Similarly to how boot0cfg modifies data within boot0. >> The information could include "nextboot-pool" and "nextboot-fs". > > nextboot-fs sounds nice. I use the bootfs property of zpool and it would > be nice if one can override it from the boot2 commandline. I have a patch for doing that from loader(8) prompt. I.e. you can change a filesystem from which to load kernel+modules and you can still set root filesystem of course. http://people.freebsd.org/~avg/zfsboot.diff This can be extended (i think rather easily) to override from where boot2 loads loader -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C9765B9.2000405>