HomeFreeBSD

nanobsd: Remove dependency on bsdlabel

Description

nanobsd: Remove dependency on bsdlabel

The bsdlabel utility is deprecated, gpart should be used instead:

  • Offset the first 16 sectors, just like bsdlabel did (used for metadata)
  • Use a freebsd-ufs partition type (regardless bsdlabel creating a '!0')

Reviewed by: emaste, imp
Approved by: emaste (mentor)
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D47653

(cherry picked from commit 87e87fecb139d60a00837f004de0d37dbecd205c)

Details

Provenance
jlduranAuthored on Nov 18 2024, 12:16 AM
Reviewer
emaste
Differential Revision
D47653: nanobsd: Remove dependency on bsdlabel
Parents
rGa7d56527c2fd: geom: Allow BSD type '!0' partitions
Branches
Unknown
Tags
Unknown