]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
zfsbootcfg: use vfs.root.mountfrom and update nextboot on every vdev
authorToomas Soome <tsoome@FreeBSD.org>
Fri, 5 Jun 2020 18:18:27 +0000 (18:18 +0000)
committerToomas Soome <tsoome@FreeBSD.org>
Fri, 5 Jun 2020 18:18:27 +0000 (18:18 +0000)
commit007278ebf0629df5be0f1828232e21d50be7ea2e
tree4f600c8df005df2511651629483b4b66f1e78aa6
parent310e81aede569411ad005f6d6e7259ae0cdafd82
zfsbootcfg: use vfs.root.mountfrom and update nextboot on every vdev

vfs.zfs.boot.primary_pool is only set on BIOS boot, use vfs.root.mountfrom
instead and update all vdevs on pool.

Reviewed by: allanjude
Sponsored by: Netflix, Klara Inc.
Differential Revision: https://reviews.freebsd.org/D25103
sbin/zfsbootcfg/zfsbootcfg.c