git: b6f3cced151f - main - bsdlabel: add deprecation notice

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Mon, 25 Mar 2024 19:43:57 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=b6f3cced151f8b7dc3e32977e8f1b826f0654690

commit b6f3cced151f8b7dc3e32977e8f1b826f0654690
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2024-01-23 18:04:43 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-03-25 19:43:34 +0000

    bsdlabel: add deprecation notice
    
    gpart is the preferred tool for managing partitions of all types,
    including BSD disklabels.
    
    Note that this is only about bsdlabel/disklabel, the tool -- there is no
    current plan to remove support for MBR or BSD disk labels from the
    kernel or from gpart.
    
    Reviewed by:    imp, olce
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D43563
---
 sbin/bsdlabel/bsdlabel.8 | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/sbin/bsdlabel/bsdlabel.8 b/sbin/bsdlabel/bsdlabel.8
index 0e5b35a0588c..dd0f52d0bfb7 100644
--- a/sbin/bsdlabel/bsdlabel.8
+++ b/sbin/bsdlabel/bsdlabel.8
@@ -28,7 +28,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd October 5, 2016
+.Dd March 25, 2024
 .Dt BSDLABEL 8
 .Os
 .Sh NAME
@@ -59,6 +59,22 @@
 .Op Fl f
 .Ar disk | Fl f Ar file
 .Ar protofile
+.Sh DEPRECATION NOTICE
+.Nm
+is deprecated and is not available in
+.Fx 15.0
+or later.
+Use
+.Xr gpart 8
+instead
+.Po
+with the
+.Cm BSD
+partitioning scheme
+.Pc ,
+or install the
+.Pa freebsd-bsdlabel
+port or package.
 .Sh DESCRIPTION
 The
 .Nm