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 GaponReceived on Mon Sep 20 2010 - 11:46:40 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:07 UTC