Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2025 14:24:26 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 56eb7566c419 - main - md(4): Stop symlinking vn.4 to md.4
Message-ID:  <202507161424.56GEOQ63030667@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/src/commit/?id=56eb7566c41902a14d4392f8a01c045dbde6de7e

commit 56eb7566c41902a14d4392f8a01c045dbde6de7e
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2025-07-16 11:44:01 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2025-07-16 14:23:41 +0000

    md(4): Stop symlinking vn.4 to md.4
    
    We've done the same in the past to the vnconfig.8->mdconfig.8 link in:
        eb5f4569819 Remove ancient vnconfig symlink
    
    Reviewed by:    bcr, markj, ziaee
    Approved by:    markj (mentor)
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D27122
---
 ObsoleteFiles.inc       | 3 +++
 share/man/man4/Makefile | 1 -
 share/man/man4/md.4     | 4 ++--
 sys/dev/md/md.c         | 6 +++---
 4 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index a5e41d9ac6d6..e5a3da94e127 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -51,6 +51,9 @@
 #   xargs -n1 | sort | uniq -d;
 # done
 
+# 20250716: Remove an old manual page, vn(4) was removed in FreeBSD 5.0
+OLD_FILES+=usr/share/man/man4/vn.4.gz
+
 # 20250710: share: Delete bitrotted make_*_driver.sh scripts
 OLD_FILES+=usr/share/examples/drivers/README
 OLD_FILES+=usr/share/examples/drivers/make_device_driver.sh
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index fcdbf81dc0fd..fca94c9b6881 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -746,7 +746,6 @@ MLINKS+=lge.4 if_lge.4
 MLINKS+=lo.4 loop.4
 MLINKS+=lp.4 plip.4
 MLINKS+=malo.4 if_malo.4
-MLINKS+=md.4 vn.4
 MLINKS+=mem.4 kmem.4
 MLINKS+=mfi.4 mfi_linux.4 \
 	mfi.4 mfip.4
diff --git a/share/man/man4/md.4 b/share/man/man4/md.4
index 0c99d61f8392..1da26ddda037 100644
--- a/share/man/man4/md.4
+++ b/share/man/man4/md.4
@@ -5,7 +5,7 @@
 .\" this stuff is worth it, you can buy me a beer in return.   Poul-Henning Kamp
 .\" ----------------------------------------------------------------------------
 .\"
-.Dd January 8, 2020
+.Dd July 16, 2025
 .Dt MD 4
 .Os
 .Sh NAME
@@ -158,7 +158,7 @@ installation process.
 The
 .Nm
 driver did a hostile takeover of the
-.Xr vn 4
+.Sy vn
 driver in
 .Fx 5.0 .
 .Sh AUTHORS
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c
index 741a7c013f7d..29dc0c880e3a 100644
--- a/sys/dev/md/md.c
+++ b/sys/dev/md/md.c
@@ -11,9 +11,9 @@
  */
 
 /*-
- * The following functions are based on the vn(4) driver: mdstart_swap(),
- * mdstart_vnode(), mdcreate_swap(), mdcreate_vnode() and mddestroy(),
- * and as such under the following copyright:
+ * The following functions are based on the historical vn(4) driver:
+ * mdstart_swap(), mdstart_vnode(), mdcreate_swap(), mdcreate_vnode()
+ * and mddestroy(), and as such under the following copyright:
  *
  * Copyright (c) 1988 University of Utah.
  * Copyright (c) 1990, 1993



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202507161424.56GEOQ63030667>