From nobody Mon Oct 21 19:09:30 2024 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XXPxk3281z5ZfZ6; Mon, 21 Oct 2024 19:09:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XXPxk2NXMz4T3w; Mon, 21 Oct 2024 19:09:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729537770; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jpwBjpvIVqdypjFue/9Lwu+RkgdfCawGjqRobi+gsXo=; b=hMBhifVf4LFMvJIORBxFYTU/8zNx7wFD/sehm6rcbk4Yjoo4diW6acEBzuHyGzXzHrBAbc NjSqx1ca6g8gF0JUSeygf7j1vEYfIHtLpGlkGvd1vCww2dN1OZVfKlgC2sRA13GimtnNv6 +zeSw6IKO40MywXSHrrsu8knbYzDWDJBbcF3mTua/PA2UD7BULBtP1RJJ/SEckXBKSDiel WKlU7RT7246ODgehsP7T1zf5/YwnyyAuYId/1L7MLd+1hqWZtk0ounTFUgqJT9muaXtR0O u2HyuqZi4sUviUVThxgSpBQZA6ymSUVaAFJNOE1j6Jv2WRmZaZqbKacW2ySjYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729537770; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jpwBjpvIVqdypjFue/9Lwu+RkgdfCawGjqRobi+gsXo=; b=GerVLFm+NKYSH2d4P8DdCh54LMyQMkeV1l34fwaz7j5tUk2BCT2EHSHdj8Xh+jlSijMoRz XaFM9TWAIKDxrR7O2LZl78baBGRZzxSHp/elBR2syflKCJTV5Cr+EOM8TUgrpT1szm8ZHk fOw8UjlOpsyxkEev3J0ZsZDs7LoaxBoYpsm1/ijsBsYVrC7eXo55jfHmddfc//24094uYL mw20NcOSievhxBpCdqDGbo2UMSzprSpCgw/EvjAzp3Emj7nSvgKOBl+AYxcgmvfEPTwp9T gjAZcri85rv4d4ozx/3QBWAs1Fw2R4aW5AOHM8x7AzxQHWqxx/alWOU0ShJqxQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729537770; a=rsa-sha256; cv=none; b=cFEGRR/tSsk0olfCrYhpc4iwORZHzX5lA4Qk4hlrZLOW/0Tp0r6oqWg3Ej2pLJmu7GnaXY YAO4MaZDP0iiwwJDtTVS6hYNPgM2RVg8z5m2vdpKalxW3Ni/+a54HYrrxbabQrQ6eaylKQ A6fZefcgJij9L1hPyNHu7ssySOWCsdfeOK9rVEIsuP6FfwTNziRiS3jV1q1Yby+WQOwd1e 4b928WttaOzbrLHs4q3cAnHdd+DNLDWRN8iazpAQuX1skAIUicP+Kx0996iiIkM8wECraf qBa98Ji6mCgDvsIC2MpPLXR2lYXMnpB9HvKYsD+9HwCAg0SS3OmzrN2HBn70GA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XXPxk1lPMzhC4; Mon, 21 Oct 2024 19:09:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49LJ9U97093709; Mon, 21 Oct 2024 19:09:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49LJ9UUC093706; Mon, 21 Oct 2024 19:09:30 GMT (envelope-from git) Date: Mon, 21 Oct 2024 19:09:30 GMT Message-Id: <202410211909.49LJ9UUC093706@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: 273c500de2c8 - stable/14 - fdisk: add deprecation/removal notice to man page List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 273c500de2c85f14a3971102aae29af765a5002f Auto-Submitted: auto-generated The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=273c500de2c85f14a3971102aae29af765a5002f commit 273c500de2c85f14a3971102aae29af765a5002f Author: Ed Maste AuthorDate: 2024-10-11 20:09:25 +0000 Commit: Ed Maste CommitDate: 2024-10-21 19:08:13 +0000 fdisk: add deprecation/removal notice to man page As of 2015 (commit b8c19fd71994) the fdisk man page claimed the command is obsolete, but had no explicit mention of removal. Add another note that follows our current deprecation notice format. Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D47067 (cherry picked from commit 255d2d9bbc3756c940462c61d3cd6fb7753aab2c) --- sbin/fdisk/fdisk.8 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/sbin/fdisk/fdisk.8 b/sbin/fdisk/fdisk.8 index 3c6a73318271..ea54a51a43ae 100644 --- a/sbin/fdisk/fdisk.8 +++ b/sbin/fdisk/fdisk.8 @@ -15,6 +15,22 @@ .Fl f Ar configfile .Op Fl itv .Op Ar disk +.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 MBR +partitioning scheme +.Pc , +or install the +.Pa freebsd-fdisk +port or package. .Sh PROLOGUE In order for the BIOS to boot the kernel, certain conventions must be adhered to.