Page MenuHomeFreeBSD

loader(8): embedded MD should be the most preferred currdev
ClosedPublic

Authored by np on Fri, Mar 20, 12:55 AM.

Details

Summary

A loader built with MD_IMAGE_SIZE is almost always meant for use with
its embedded image and should try that as currdev before anything else.
Recent changes (d69fc3a9dc71, 784150fd2535) seem to have relaxed the ZFS
code's search for a rootfs and exposed this problem.

MFC after: 1 week
Sponsored by: Chelsio Communications

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

np requested review of this revision.Fri, Mar 20, 12:55 AM

While I think we need to move back to STRICT for a variety of reasons, this is a good chance I think.

This revision is now accepted and ready to land.Fri, Mar 20, 4:24 AM