gptboot rewrite, bootonce, etc.

krad kraduk at gmail.com
Mon Sep 20 13:50:24 UTC 2010


On 20 September 2010 14:37, John Hay <jhay at meraka.org.za> wrote:

> 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.
>
> John
> --
> John Hay -- jhay at meraka.csir.co.za / jhay at FreeBSD.org
>

exactly what i was thinking. Its real nice how opensolaris odes its boot
environments.  I have a few custom scripts to replicate that with the
install world, but at yet have no easy way to flip flop the bootfs varible,
other than booting in on live(cd|usb)


More information about the freebsd-current mailing list