Page MenuHomeFreeBSD

nanobsd: Add a provisional populate_part function
AcceptedPublic

Authored by jlduran on Sat, Feb 1, 4:25 AM.

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.Sat, Feb 1, 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.Sat, Feb 1, 5:33 PM
This revision is now accepted and ready to land.Sat, Feb 1, 5:36 PM