git: 4c736cfc69a7 - main - Deprecate fdc(4) and floppy utilities

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Sun, 16 Nov 2025 22:47:43 UTC
The branch main has been updated by emaste:

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

commit 4c736cfc69a7ef81c48c8431b31c7e31746fe816
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-08-22 14:45:14 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-11-16 22:46:12 +0000

    Deprecate fdc(4) and floppy utilities
    
    Floppies have been obsolete for over a decade.  Add a deprecation note
    now and plan to remove fdc(4) support in 16.
    
    Reviewed by:    ziaee
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D41549
---
 share/man/man4/fdc.4           | 8 +++++++-
 usr.sbin/fdcontrol/fdcontrol.8 | 7 ++++++-
 usr.sbin/fdformat/fdformat.8   | 7 ++++++-
 usr.sbin/fdread/fdread.1       | 7 ++++++-
 usr.sbin/fdwrite/fdwrite.1     | 7 ++++++-
 5 files changed, 31 insertions(+), 5 deletions(-)

diff --git a/share/man/man4/fdc.4 b/share/man/man4/fdc.4
index 774dc3f18cd6..937be2077b26 100644
--- a/share/man/man4/fdc.4
+++ b/share/man/man4/fdc.4
@@ -25,7 +25,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd October 10, 2023
+.Dd November 16, 2025
 .Dt FDC 4
 .Os
 .Sh NAME
@@ -47,6 +47,12 @@ In
 .Cd hint.fd.1.at="fdc0"
 .Cd hint.fd.1.drive="1"
 .Cd hint.fd.1.flags="0x0"
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver is deprecated and may not be present in
+.Fx 16.0
+and later.
 .Sh DESCRIPTION
 .Ss Device Usage
 This driver provides access to floppy disk drives.
diff --git a/usr.sbin/fdcontrol/fdcontrol.8 b/usr.sbin/fdcontrol/fdcontrol.8
index 23c3a2ee20de..cbf8864d5fe7 100644
--- a/usr.sbin/fdcontrol/fdcontrol.8
+++ b/usr.sbin/fdcontrol/fdcontrol.8
@@ -23,7 +23,7 @@
 .\" USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
 .\" DAMAGE.
 .\"
-.Dd April 7, 2017
+.Dd November 16, 2025
 .Dt FDCONTROL 8
 .Os
 .Sh NAME
@@ -37,6 +37,11 @@
 .Op Fl s Ar fmtstr
 .Op Fl v
 .Ar device
+.Sh DEPRECATION NOTICE
+.Nm
+is deprecated and may not be present in
+.Fx 16.0
+and later.
 .Sh DESCRIPTION
 The
 .Nm
diff --git a/usr.sbin/fdformat/fdformat.8 b/usr.sbin/fdformat/fdformat.8
index bf18f93f5e87..72ec2bd2be5c 100644
--- a/usr.sbin/fdformat/fdformat.8
+++ b/usr.sbin/fdformat/fdformat.8
@@ -22,7 +22,7 @@
 .\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd May 23, 2020
+.Dd November 16, 2025
 .Dt FDFORMAT 8
 .Os
 .Sh NAME
@@ -35,6 +35,11 @@
 .Op Fl s Ar fmtstr
 .Op Fl nqvy
 .Ar device
+.Sh DEPRECATION NOTICE
+.Nm
+is deprecated and may not be present in
+.Fx 16.0
+and later.
 .Sh DESCRIPTION
 The
 .Nm
diff --git a/usr.sbin/fdread/fdread.1 b/usr.sbin/fdread/fdread.1
index c0036906bee6..83892877b48b 100644
--- a/usr.sbin/fdread/fdread.1
+++ b/usr.sbin/fdread/fdread.1
@@ -24,7 +24,7 @@
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\"
-.Dd May 14, 2001
+.Dd November 16, 2025
 .Dt FDREAD 1
 .Os
 .Sh NAME
@@ -40,6 +40,11 @@
 .Op Fl d Ar device
 .Fl I Ar numsects
 .Op Fl t Ar trackno
+.Sh DEPRECATION NOTICE
+.Nm
+is deprecated and may not be present in
+.Fx 16.0
+and later.
 .Sh DESCRIPTION
 The
 .Nm
diff --git a/usr.sbin/fdwrite/fdwrite.1 b/usr.sbin/fdwrite/fdwrite.1
index 9d188de02d83..4773cfa20d9a 100644
--- a/usr.sbin/fdwrite/fdwrite.1
+++ b/usr.sbin/fdwrite/fdwrite.1
@@ -7,7 +7,7 @@
 .\" ----------------------------------------------------------------------------
 .\"
 .\"
-.Dd September 16, 1993
+.Dd November 16, 2025
 .Dt FDWRITE 1
 .Os
 .Sh NAME
@@ -19,6 +19,11 @@
 .Op Fl y
 .Op Fl f Ar inputfile
 .Op Fl d Ar device
+.Sh DEPRECATION NOTICE
+.Nm
+is deprecated and may not be present in
+.Fx 16.0
+and later.
 .Sh DESCRIPTION
 The
 .Nm