vfs.zfs.boot.primary_pool is only set on BIOS boot, use vfs.root.mountfrom
instead and update all vdevs on pool.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 31473 Build 29085: arc lint + arc unit
Event Timeline
sbin/zfsbootcfg/zfsbootcfg.c | ||
---|---|---|
44 | We should change the naming throughout zfsbootcfg to call it 'bootonce', since 'nextboot' is a different feature, and this will get confusing when we combine the two | |
55 | Instead of doing this here, we can use the new IOCTL from upstream where looping over and writing to each label is done inside the kernel |
Comment Actions
As we progress here, we will want a switch to maintain the legacy behaviour, at least for a while. We might even decide not to change the default right away.
sbin/zfsbootcfg/zfsbootcfg.c | ||
---|---|---|
55 | yes, thats planned for next iteration. |
head/sbin/zfsbootcfg/zfsbootcfg.c | ||
---|---|---|
56 ↗ | (On Diff #72731) | Shouldn't this be += as otherwise we'll return the status for the last child only? |