git: 255d2d9bbc37 - main - fdisk: add deprecation/removal notice to man page
Date: Sun, 13 Oct 2024 17:46:20 UTC
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=255d2d9bbc3756c940462c61d3cd6fb7753aab2c 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.