summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2015-10-18 14:17:30 +0000
committertrasz <trasz@FreeBSD.org>2015-10-18 14:17:30 +0000
commit4b63839e8d029cdff68f30192160384ed36373a8 (patch)
treead749933dc7fc3c897519236a14a31a86bb82937 /sys/boot
parent104f9e09faffda4476384529a7877356ecb46a67 (diff)
downloadFreeBSD-src-4b63839e8d029cdff68f30192160384ed36373a8.zip
FreeBSD-src-4b63839e8d029cdff68f30192160384ed36373a8.tar.gz
MFC r285870:
Document md_root in loader(8). The md(4) manual page mentions it, but it's hard to find and easy to miss. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/common/loader.812
1 files changed, 9 insertions, 3 deletions
diff --git a/sys/boot/common/loader.8 b/sys/boot/common/loader.8
index 1b60637..d931ef4 100644
--- a/sys/boot/common/loader.8
+++ b/sys/boot/common/loader.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 22, 2014
+.Dd July 25, 2015
.Dt LOADER 8
.Os
.Sh NAME
@@ -207,12 +207,18 @@ returns an error itself (see
.Op Fl t Ar type
.Ar file Cm ...
.Xc
-Loads a kernel, kernel loadable module (kld), or file of opaque
-contents tagged as being of the type
+Loads a kernel, kernel loadable module (kld), disk image,
+or file of opaque contents tagged as being of the type
.Ar type .
Kernel and modules can be either in a.out or ELF format.
Any arguments passed after the name of the file to be loaded
will be passed as arguments to that file.
+Use the
+.Li md_image
+type to make the kernel create a file-backed
+.Xr md 4
+disk.
+This is useful for booting from a temporary rootfs.
Currently, argument passing does not work for the kernel.
.Pp
.It Ic load_geli Xo
OpenPOWER on IntegriCloud