HomeFreeBSD

nanobsd: Use mtree -C to produce the metalog

Description

nanobsd: Use mtree -C to produce the metalog

Prefer an mtree -C output, which is guaranteed to be mtree-compatible.
Add "gname", "uname", and "tags" to the default keyword set, while
removing "size" and "time", the latter being set on kernel file entries
and taking precedence over makefs -T (when paired with -F).

As a side effect, this produces a cleaner file with sorted keywords.

Note that passing "-u" to sort in order to pipe to mtree is no longer
necessary, but we'll do it out of habit.

Reviewed by: imp
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D54854

Details

Provenance
jlduranAuthored on Jan 24 2026, 2:06 AM
Reviewer
imp
Differential Revision
D54854: nanobsd: Use mtree -C to produce the metalog
Parents
rG202e3109a9d6: amd64: Fix sys/pcpu.h usage in vmm_host.h and md_var.h
Branches
Unknown
Tags
Unknown