BSD disk labels should be avoided on new installations. There is no concrete plan to remove BSD label support from FreeBSD but that will happen at some point in the future.
Details
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
I might want to deprecate and remove bsdlabel first, due to PR276517 - BSD label manipulation via gpart does not have the same issue.
Make the deprecation notice for bsdlabel explicit. Also remove comment about legacy-ness of MBR/BSD disklabels, this man page isn't the right place for such a note, and there's work to do elsewhere first (e.g. having a stronger preference for not-MBR/bsdlabel in the installer).
Bsdlabel, the program, was supposed to be completely replaced by gpart, etc so this shouldn't be a surprise.
I'll go ahead and provide a port for the bsdlabel utility so it remains available for legacy use cases.
First point, a manpage addition is pointless unless you have the binary emit a warning when invoked. Second how does one execute bsdlabel -e -A with gpart?
Sure, that can be added too, perhaps as a subsequent commit.
Second how does one execute bsdlabel -e -A with gpart?
One doesn't - one would need to install the port that @fuz will create.
DEPRECATION NOTICE
bsdlabel is deprecated and is not available in FreeBSD 15.0 or later. Use gpart(8) instead (with the BSD partitioning scheme), or install the freebsd-bsdlabel port or package.