Create man page for callbootd.
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
| usr.sbin/bootparamd/callbootd/callbootd.8 | ||
|---|---|---|
| 39 | I don't understand the comment. It shows a different usage than is displayed in this section? I'm not familiar with the program to know which is correct. | |
| 58 | style.mdoc(5) says the width should be the longest item, unless that hurts readability then it should be indent. I like to check mine at MANWIDTH=80 and MANWIDTH=59 | |
| 76 | Ql is quoted literal, so you don't need to quote it's arguments | |
| usr.sbin/bootparamd/callbootd/callbootd.c | ||
|---|---|---|
| 151–154 | This is backwards: this should all be hard-tab indented per style(9). | |
| usr.sbin/bootparamd/callbootd/callbootd.8 | ||
|---|---|---|
| 2 | The entire license for new manuals should look like this: /* * Copyright (c) [year] [your name] * * SPDX-License-Identifier: BSD-2-Clause */ | |
I updated the license.
After re-reading the source for callbootd, I learned I was mistaken about broadcast mode.
I updated the usage function and simplified the manpage.
| usr.sbin/bootparamd/callbootd/callbootd.8 | ||
|---|---|---|
| 2 | Also, don't put name and uear inside square [] brackets. | |
There are several EoL whitespaces. Please trim them before committing.
Also, it makes sense to wrap long lines.
Sorry for nitpicking.
The final diff (copy&pasted)
- callbootd.8.orig 2025-06-24 20:10:46.860839000 +0000
+++ callbootd.8 2025-06-24 20:15:11.645894000 +0000
@@ -1,8 +1,8 @@
-.\"/*
- .\"* Copyright (c) 2025 Felix Johnson
- .\"*
- .\"* SPDX-License-Identifier: BSD-2-Clause
- .\"*/
+.\"
+.\" Copyright (c) 2025 Felix Johnson
+.\"
+.\" SPDX-License-Identifier: BSD-2-Clause
+.\"
.Dd June 23, 2025
.Dt CALLBOOTD 8
.Os
@@ -89,7 +89,7 @@
was written by
.An Klas Heggemann Aq Mt klas@nada.kth.se .
.Pp
-This manpage was written by Felix Johnson
+This manual page was written by Felix Johnson
.Aq Mt felix.the.red@gmail.com .
.Sh BUGS
.Nm
| usr.sbin/bootparamd/callbootd/callbootd.8 | ||
|---|---|---|
| 17 | Yes, and it's optional. If file_id is not present, then callbootd will be in whoami mode, asking for Otherwise, callbootd asks for mount paths, using file_id as a key. | |
| usr.sbin/bootparamd/callbootd/callbootd.8 | ||
|---|---|---|
| 12 | This is still not done, you can this for yourself in mdoc(7). | |
| 17 | Ok, then please "Op Ar fileid" instead of Op fileid. Also, that sounds like important information you should put in the DESCRIPTION! | |
| 63 | ||
| 92 | Hmm use the format above, so .An goes before your name. | |
| usr.sbin/bootparamd/callbootd/callbootd.c | ||
|---|---|---|
| 152 | So, callbootd can not take an ip address instead of a fileid? | |
| usr.sbin/bootparamd/callbootd/callbootd.c | ||
|---|---|---|
| 152 | This double prints callbootd (prefix), which is inconsistent with other commands. | |
Is there more work on this to come @felix.the.red_gmail.com ? We would really like to see this man page in FreeBSD.
If you're to busy, we can probably finish the rest ourselves. Just wanting to make sure this is still actively being worked on. Thanks!