Page MenuHomeFreeBSD

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

Authored by np on Mar 20 2026, 12:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 18, 5:59 PM
Unknown Object (File)
Sat, Apr 18, 3:46 PM
Unknown Object (File)
Wed, Apr 8, 9:24 PM
Unknown Object (File)
Wed, Apr 8, 3:18 PM
Unknown Object (File)
Mon, Apr 6, 3:30 PM
Unknown Object (File)
Sun, Apr 5, 11:47 AM
Unknown Object (File)
Sun, Apr 5, 3:09 AM
Unknown Object (File)
Sat, Apr 4, 2:24 PM
Subscribers

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