Page MenuHomeFreeBSD

nanobsd: Add a provisional populate_part function
AcceptedPublic

Authored by jlduran on Feb 1 2025, 4:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 7, 5:59 AM
Unknown Object (File)
Sat, Dec 6, 8:48 AM
Unknown Object (File)
Fri, Dec 5, 11:55 AM
Unknown Object (File)
Thu, Dec 4, 6:21 AM
Unknown Object (File)
Wed, Dec 3, 8:02 PM
Unknown Object (File)
Mon, Dec 1, 7:17 AM
Unknown Object (File)
Fri, Nov 28, 5:05 PM
Unknown Object (File)
Fri, Nov 28, 4:25 AM
Subscribers
None

Details

Reviewers
emaste
imp
Summary

Add a _populate_part(ition) function that mimics the current
populate_slice. Note however, that this function is not
backward-compatible with populate_slice, hence the different name. A
"_" is prepended to signal that it still experimental.

It can be used to populate the /cfg and /data partition using makefs(8).

Initially not wired.

TODO:

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

jlduran created this revision.
This revision is now accepted and ready to land.Feb 1 2025, 4:55 AM
  • Actually remove the directory (add -r)
  • Do not overwrite previous traps (otherwise the temporary /cfg directory is not removed).
This revision now requires review to proceed.Feb 1 2025, 5:33 PM
This revision is now accepted and ready to land.Feb 1 2025, 5:36 PM