aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Jude <allanjude@FreeBSD.org>2020-07-13 02:09:21 +0000
committerKyle Evans <kevans@FreeBSD.org>2021-10-08 08:12:01 +0000
commit3c880137ef67e784710178d7867c400de650abd3 (patch)
treec634d1e45d5cce40eea44f82cf379984e6ebf969
parent1f152c027551e887d150ea837afc06cec3fe5fcf (diff)
downloadsrc-3c880137ef67e784710178d7867c400de650abd3.tar.gz
src-3c880137ef67e784710178d7867c400de650abd3.zip
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)
-rw-r--r--stand/man/loader.812
1 files 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