]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r348569: [zfsboot] Fix boot env back compat (#190)
authorkevans <kevans@FreeBSD.org>
Mon, 10 Jun 2019 15:55:38 +0000 (15:55 +0000)
committerkevans <kevans@FreeBSD.org>
Mon, 10 Jun 2019 15:55:38 +0000 (15:55 +0000)
commit88882ca56f199ac7a992a41899a2a9e686611288
tree7477a16795c5fa08f23d89a08d3c672a039a61e8
parent81d6ad1bdbcdd0353332ebfc2b1f66d56f60473d
MFC r348569: [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.

Approved by: re (gjb)
stand/common/paths.h
stand/i386/zfsboot/zfsboot.c