Page MenuHomeFreeBSD

nanobsd: Add a provisional populate_part function
ClosedPublic

Authored by jlduran on Feb 1 2025, 4:25 AM.
Tags
None
Referenced Files
F142484496: D48790.id150333.diff
Tue, Jan 20, 8:18 AM
F142434085: D48790.id150371.diff
Mon, Jan 19, 10:30 PM
Unknown Object (File)
Sun, Jan 18, 6:38 PM
Unknown Object (File)
Sun, Jan 18, 12:35 AM
Unknown Object (File)
Sat, Jan 17, 11:13 PM
Unknown Object (File)
Sat, Jan 17, 10:56 PM
Unknown Object (File)
Mon, Jan 5, 5:56 AM
Unknown Object (File)
Tue, Dec 30, 1:20 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 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