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)
Sun, Mar 8, 2:20 AM
Unknown Object (File)
Fri, Feb 27, 11:37 AM
Unknown Object (File)
Thu, Feb 26, 1:42 PM
Unknown Object (File)
Sun, Feb 22, 8:20 AM
Unknown Object (File)
Fri, Feb 20, 3:16 PM
Unknown Object (File)
Thu, Feb 19, 5:08 AM
Unknown Object (File)
Wed, Feb 18, 8:00 AM
Unknown Object (File)
Tue, Feb 17, 9:47 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