git: 3c880137ef67 - stable/12 - Loader: explain the syntax of currdev
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Oct 2021 16:09:02 UTC
The branch stable/12 has been updated by kevans:
URL: https://cgit.FreeBSD.org/src/commit/?id=3c880137ef67e784710178d7867c400de650abd3
commit 3c880137ef67e784710178d7867c400de650abd3
Author: Allan Jude <allanjude@FreeBSD.org>
AuthorDate: 2020-07-13 02:09:21 +0000
Commit: Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2021-10-08 08:12:01 +0000
Loader: explain the syntax of currdev
The origin text was: "Syntax for devices is odd."
That is not very helpful.
PR: 199103
(cherry picked from commit 551d20f044f3fa5e4f59d6303f1a2a70c1bf2297)
---
stand/man/loader.8 | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/stand/man/loader.8 b/stand/man/loader.8
index b5f770803bff..3051f9bda6e4 100644
--- a/stand/man/loader.8
+++ b/stand/man/loader.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 7, 2021
+.Dd October 8, 2021
.Dt LOADER 8
.Os
.Sh NAME
@@ -479,8 +479,14 @@ In that case, the first listed console will become the default console for
userland output (e.g.\& from
.Xr init 8 ) .
.It Va currdev
-Selects the default device.
-Syntax for devices is odd.
+Selects the default device to loader the kernel from.
+The syntax is:
+.Dl Ic loader_device:
+or
+.Dl Ic zfs:dataset:
+Examples:
+.Dl Ic disk0p2:
+.Dl Ic zfs:zroot/ROOT/default:
.It Va dumpdev
Sets the device for kernel dumps.
This can be used to ensure that a device is configured before the corresponding