Page MenuHomeFreeBSD

nanobsd: Add a provisional populate_part function
ClosedPublic

Authored by jlduran on Feb 1 2025, 4:25 AM.
Tags
None
Referenced Files
F145389497: D48790.diff
Thu, Feb 19, 5:08 AM
Unknown Object (File)
Wed, Feb 18, 8:00 AM
Unknown Object (File)
Tue, Feb 17, 9:47 AM
Unknown Object (File)
Sun, Feb 15, 9:42 AM
Unknown Object (File)
Sat, Jan 24, 5:46 PM
Unknown Object (File)
Jan 20 2026, 8:18 AM
Unknown Object (File)
Jan 19 2026, 10:30 PM
Unknown Object (File)
Jan 18 2026, 6:38 PM
Subscribers
None

Details

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 Not Applicable
Unit
Tests Not Applicable

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