loader: export boot pool and vdev GUID
We do export zfs-bootfs, bootpath and diskdevid in boot environment to support zfs boot. To support boot pool discovery in case the bootpath and diskdevid are changed (are not reflecting the actual device tree), we need to export at least boot pool GUID. While on it, we also export boot disk vdev GUID. Once we can discover the boot pool configuration, we probably should not even need vdev GUID any more, because pool should should ensure the data integrity.
Export pool guid in zfs-bootpool
and vdev guid in zfs-bootvdev
While there, remove unused fbsd vfs.* variables.
Updated by Electric Monk over 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit f6dea603a339e9ce32cc78b775543b0cccbefac2 Author: Toomas Soome <firstname.lastname@example.org> Date: 2018-11-09T21:58:28.000Z 9955 loader: export boot pool and vdev GUID Reviewed by: Adam Števko <email@example.com> Reviewed by: Andy Fiddaman <firstname.lastname@example.org> Reviewed by: Gergő Mihály Doma <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>