Re: git: 255d2d9bbc37 - main - fdisk: add deprecation/removal notice to man page

From: Cy Schubert <Cy.Schubert_at_cschubert.com>
Date: Sun, 13 Oct 2024 21:03:28 UTC
In message <202410131746.49DHkKY1053120@gitrepo.freebsd.org>, Ed Maste 
writes:
> The branch main has been updated by emaste:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=255d2d9bbc3756c940462c61d3cd6fb7
> 753aab2c
>
> commit 255d2d9bbc3756c940462c61d3cd6fb7753aab2c
> Author:     Ed Maste <emaste@FreeBSD.org>
> AuthorDate: 2024-10-11 20:09:25 +0000
> Commit:     Ed Maste <emaste@FreeBSD.org>
> 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.
>

We should point people at the port.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

			e^(i*pi)+1=0