git: 5b62dc782d48 - main - p9fs.5: rename to p9fs.4

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Tue, 12 Nov 2024 02:01:56 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=5b62dc782d4891845b47f2c0dfbb7717cbfe3897

commit 5b62dc782d4891845b47f2c0dfbb7717cbfe3897
Author:     Lexi Winter <lexi@hemlock.eden.le-fay.org>
AuthorDate: 2024-11-07 20:25:10 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-11-12 01:43:15 +0000

    p9fs.5: rename to p9fs.4
    
    This is a filesystem (driver), not a file format, so it should be in
    section 4.
    
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/1520
---
 ObsoleteFiles.inc                      | 3 +++
 share/man/man4/Makefile                | 1 +
 share/man/{man5/p9fs.5 => man4/p9fs.4} | 4 ++--
 share/man/man5/Makefile                | 1 -
 4 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index 142a389a8e7a..75414bd1a111 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -51,6 +51,9 @@
 #   xargs -n1 | sort | uniq -d;
 # done
 
+# 20241112: move p9fs from section 5 to section 4
+OLD_FILES+=usr/share/man/man5/p9fs.5.gz
+
 # 20241104: remove the outdated c2x.7 symlink in favor of c23.7
 OLD_FILES+=usr/share/man/man7/c2x.7.gz
 
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index ad1cf5dd3785..72e1de3009c9 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -442,6 +442,7 @@ MAN=	aac.4 \
 	owc.4 \
 	ovpn.4 \
 	${_padlock.4} \
+	p9fs.4 \
 	pass.4 \
 	pca954x.4 \
 	pccard.4 \
diff --git a/share/man/man5/p9fs.5 b/share/man/man4/p9fs.4
similarity index 99%
rename from share/man/man5/p9fs.5
rename to share/man/man4/p9fs.4
index 5c110e3dc963..04f27abd2545 100644
--- a/share/man/man5/p9fs.5
+++ b/share/man/man4/p9fs.4
@@ -22,8 +22,8 @@
 .\" (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 December 7, 2022
-.Dt P9FS 5
+.Dd November 7, 2024
+.Dt P9FS 4
 .Os
 .Sh NAME
 .Nm p9fs
diff --git a/share/man/man5/Makefile b/share/man/man5/Makefile
index 553bedddeea1..e2abf1d60905 100644
--- a/share/man/man5/Makefile
+++ b/share/man/man5/Makefile
@@ -34,7 +34,6 @@ MAN=	acct.5 \
 	nsmb.conf.5 \
 	nsswitch.conf.5 \
 	os-release.5 \
-	p9fs.5 \
 	passwd.5 \
 	pbm.5 \
 	periodic.conf.5 \