Page MenuHomeFreeBSD

nanobsd: Add a provisional populate_part function
ClosedPublic

Authored by jlduran on Feb 1 2025, 4:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 3, 4:56 PM
Unknown Object (File)
Mon, May 25, 2:36 AM
Unknown Object (File)
Wed, May 20, 4:42 PM
Unknown Object (File)
Tue, May 19, 10:39 PM
Unknown Object (File)
Sun, May 17, 3:35 AM
Unknown Object (File)
Sun, May 17, 12:20 AM
Unknown Object (File)
Sat, May 16, 11:30 PM
Unknown Object (File)
May 7 2026, 7:26 AM
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