From nobody Sun Oct 13 17:46:20 2024 X-Original-To: dev-commits-src-all@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 4XRSTS6Sf6z5ZH6C; Sun, 13 Oct 2024 17:46:20 +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 4XRSTS55lbz4F62; Sun, 13 Oct 2024 17:46:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728841580; 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=Rwb2jggEq8ZOpW8akrxOqTV6knsBlKte57gSq40ixsQ=; b=xcpFqjhlvxu/DHL8LNpaqiyxBrlVxYROfrajDjkhiGeOinTnu/YKWI7SVDc2zGQFD93/UC IxIDcVXbUPfsSzfbs91T0ncbJBpljO+1L3HXUGkwVADdYvw/q/jWP6bSZ4m3UicRIuRVR7 02w/de9m10+CHfTP4X1X/3enTuz0y16bc/oU1dBxpxONwHtwIoHayKk6SS51hkxO93gIlf A+5bw3i9aLGm72rT1cmsWJaLJ3mRYVfGFoLk45LYEHnx1jbJAeRrkNl6Kum53zhITYxes+ cuKBisc8HKsbJJGNO7ydyPZMG5sME4MNiwY1jG9l+/3Ze5AcsjB9unynRmt97w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728841580; 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=Rwb2jggEq8ZOpW8akrxOqTV6knsBlKte57gSq40ixsQ=; b=ask5k3poO53Y2Rpcg8gmzYW4Ymt1tUuhKjFUGep8yq5D6ntCz5uvrgNsVkZXkoq7H6ccrH NbIcGOkdReLO3mzTNK3f7ABvMKs3au4vq+tSdNQVZfiaQvvXtdrVWqmp6D0jtP+Xehvtfr EjaMiEMqnN6vFGLYrG0dnO5FB//pDMTtJLaTjA/PNejNRUtoSgyhyzlyHDe9jC9sFDBJpn AszZdQz8rqBmbIaYVxTslhBsCmIw0jPYCMny3TCGJpZ98iMPOIQ70pobqokhoqTA2n+UC9 b2pAsGVR0HGPtUUfVjFFP8pDUy9CxHhZR5cjSZZb7yj1brDBg/z7G6ZdiK65Rw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728841580; a=rsa-sha256; cv=none; b=ZnS8FlrtEfirODTAdUKIBpPG1u0U/FjkpfgxmUXYZp2BjFLPjn7UUyiGIHw3j74VCXmzA9 4bFQ12fFxjiEYAsdzxQ1LprHBLNR2EtXLX6E+RI/US2uI9OghQlujikWnW+Jy3ILtP58SO HhXE9iwXA8mbHvvLl7fSl87Pih3EPJyZTnntnEHX3V0gVyRWvm27PCdkulyffdd6MP5Hqu HMazhMTsbaD8tSrhv29wFg5968gK/Gk9Fw45GykOlMUImlDzGcuxDD7GuPpvRssqaDZ4Zq LYoyNpkOnxFTit1OKRVq5H05HVxwEW1Cl0kMvcH6L9Y7qNMdFGfPdgWj8CRNzQ== 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 4XRSTS2Ttyz1418; Sun, 13 Oct 2024 17:46:20 +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 49DHkK7E053123; Sun, 13 Oct 2024 17:46:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49DHkKY1053120; Sun, 13 Oct 2024 17:46:20 GMT (envelope-from git) Date: Sun, 13 Oct 2024 17:46:20 GMT Message-Id: <202410131746.49DHkKY1053120@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 255d2d9bbc37 - main - fdisk: add deprecation/removal notice to man page List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: 255d2d9bbc3756c940462c61d3cd6fb7753aab2c Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=255d2d9bbc3756c940462c61d3cd6fb7753aab2c commit 255d2d9bbc3756c940462c61d3cd6fb7753aab2c Author: Ed Maste AuthorDate: 2024-10-11 20:09:25 +0000 Commit: Ed Maste CommitDate: 2024-10-13 17:45:28 +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 --- sbin/fdisk/fdisk.8 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/sbin/fdisk/fdisk.8 b/sbin/fdisk/fdisk.8 index 981233f6998d..09933acf57df 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.