Page MenuHomeFreeBSD

nanobsd: Avoid duplicate dd operations
Needs ReviewPublic

Authored by jlduran on May 17 2026, 7:47 AM.
Tags
None
Referenced Files
F166617691: D57041.diff
Fri, Aug 14, 9:49 PM
Unknown Object (File)
Thu, Aug 13, 12:43 AM
Unknown Object (File)
Wed, Aug 12, 7:10 PM
Unknown Object (File)
Mon, Aug 10, 12:08 PM
Unknown Object (File)
Sat, Aug 8, 11:20 PM
Unknown Object (File)
Sat, Aug 8, 8:10 PM
Unknown Object (File)
Sat, Aug 8, 6:35 PM
Unknown Object (File)
Sat, Aug 8, 9:31 AM
Subscribers
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

If NANO_MD_BACKING is set to "swap":

  • And NANO_IMAGE_MBRONLY is false, do not execute the same dd operation twice
  • And NANO_IMAGE_MBRONLY is true, do not generate a _.disk.full image, when only an MBR image (_.disk.mbr) and a code image (_.disk.image) are wanted

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 73155
Build 70038: arc lint + arc unit