]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[zfsboot] Fix boot env back compat (#190)
authorimp <imp@FreeBSD.org>
Mon, 3 Jun 2019 19:10:46 +0000 (19:10 +0000)
committerimp <imp@FreeBSD.org>
Mon, 3 Jun 2019 19:10:46 +0000 (19:10 +0000)
commit7f21fef8c9d6437d8ab21568eddb3a39b3edd7b4
tree628a33d351c4008b9e8376dd6f582fb9457f5533
parent741918c594d021d7651aa3c0f63a2ca1d780a7b1
[zfsboot] Fix boot env back compat (#190)

* Fix boot env back compat

zfsboot must try zfsloader before loader in order to remain compatible
with boot environments created prior to zfs functionality being rolled
into loader proper.

* Improve comments in zfsboot

Explain the significance of the load path order, and put the comment
about looping through the paths in the appropriate scope.

Obtained From:  TrueNAS commit 4c60c62fcf0b6b6eac98ee8d46e7bbea64bc86f5
Submitted by: Ryan Moeller <ryan@freqlabs.com>
stand/common/paths.h
stand/i386/zfsboot/zfsboot.c