git: ecdb0b79bf93 - main - cdboot.8: Initial manual page

From: Alexander Ziaee <ziaee_at_FreeBSD.org>
Date: Mon, 12 May 2025 16:23:46 UTC
The branch main has been updated by ziaee:

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

commit ecdb0b79bf93a2b8392694bd266c5930ca42bab5
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2025-05-09 17:38:25 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2025-05-12 16:23:04 +0000

    cdboot.8: Initial manual page
    
    Add cdboot to the reference manual, fixing an undocumented bug where it
    is undocumented. There's almost nothing here, but that's better than
    "only imp and jhb know what this is".
    
    MFC after:              3 days
    Reported by:            jhb, imp
    Reviewed by:            mhorne
    Approved by:            mhorne (mentor)
    Differential Revision:  https://reviews.freebsd.org/D50274
---
 stand/i386/cdboot/Makefile |  1 +
 stand/i386/cdboot/cdboot.8 | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+)

diff --git a/stand/i386/cdboot/Makefile b/stand/i386/cdboot/Makefile
index c66ff68105c1..15b73856c086 100644
--- a/stand/i386/cdboot/Makefile
+++ b/stand/i386/cdboot/Makefile
@@ -3,6 +3,7 @@
 PROG=	cdboot
 STRIP=
 BINMODE=${NOBINMODE}
+MAN=	cdboot.8
 SRCS=	${PROG}.S
 
 CFLAGS+=-I${BOOTSRC}/i386/common
diff --git a/stand/i386/cdboot/cdboot.8 b/stand/i386/cdboot/cdboot.8
new file mode 100644
index 000000000000..6163bd7b4a7a
--- /dev/null
+++ b/stand/i386/cdboot/cdboot.8
@@ -0,0 +1,21 @@
+.\"
+.\" Copyright (c) 2025 Alexander Ziaee
+.\"
+.\" SPDX-License-Identifier: BSD-2-Clause
+.\"
+.Dd May 9 2025
+.Dt CDBOOT 8 i386
+.Os
+.Sh NAME
+.Nm cdboot
+.Nd find a bootloader on ISO-9660
+.Sh DESCRIPTION
+.Nm
+is a small boot block which finds
+.Xr loader 8
+on a
+.Xr cd9660 4
+file system.
+.Sh SEE ALSO
+.Xr cd9660 4 ,
+.Xr loader 8