git: bf4972a48d2e - stable/14 - bsdlabel: add deprecation notice

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Tue, 16 Apr 2024 13:58:49 UTC
The branch stable/14 has been updated by emaste:

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

commit bf4972a48d2ed8762d6aba91573e762c985998a8
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2024-01-23 18:04:43 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-04-16 13:57:43 +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
    
    (cherry picked from commit b6f3cced151f8b7dc3e32977e8f1b826f0654690)
---
 sbin/bsdlabel/bsdlabel.8 | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/sbin/bsdlabel/bsdlabel.8 b/sbin/bsdlabel/bsdlabel.8
index a1ff2a78f1f0..dcf8c7ccace7 100644
--- a/sbin/bsdlabel/bsdlabel.8
+++ b/sbin/bsdlabel/bsdlabel.8
@@ -28,9 +28,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\"	@(#)disklabel.8	8.2 (Berkeley) 4/19/94
-.\"
-.Dd October 5, 2016
+.Dd March 25, 2024
 .Dt BSDLABEL 8
 .Os
 .Sh NAME
@@ -61,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