summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2015-07-25 13:02:41 +0000
committertrasz <trasz@FreeBSD.org>2015-07-25 13:02:41 +0000
commit52037e71a3c3683265035c5ee2ad231925c63511 (patch)
tree4d56d5b8b0ea625801ee30a83e5c9ff82ce414d3 /sys/boot
parente4e49c92c2b26fd037b2de594b7183265a656b12 (diff)
downloadFreeBSD-src-52037e71a3c3683265035c5ee2ad231925c63511.zip
FreeBSD-src-52037e71a3c3683265035c5ee2ad231925c63511.tar.gz
Document md_root in loader(8). The md(4) manual page mentions it,
but it's hard to find and easy to miss. Reviewed by: wblock@ MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3183
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 03a6488..7d5a561 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