Page MenuHomeFreeBSD

nanobsd: Avoid duplicate dd operations
Needs ReviewPublic

Authored by jlduran on Sun, May 17, 7:47 AM.
Tags
None
Referenced Files
F157462948: D57041.diff
Thu, May 21, 5:58 PM
Unknown Object (File)
Wed, May 20, 4:05 PM
Unknown Object (File)
Tue, May 19, 11:26 PM
Unknown Object (File)
Mon, May 18, 5:51 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