aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2015-07-25 13:02:41 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2015-07-25 13:02:41 +0000
commit933333caf847a24f33d2303ee597ff1f74eef148 (patch)
tree4d56d5b8b0ea625801ee30a83e5c9ff82ce414d3 /sys
parent7ec72d484f84151fa6f10647c8bedb3ebf75399e (diff)
downloadsrc-933333caf847a24f33d2303ee597ff1f74eef148.tar.gz
src-933333caf847a24f33d2303ee597ff1f74eef148.zip
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
Notes
Notes: svn path=/head/; revision=285870
Diffstat (limited to 'sys')
-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 03a648802a8a..7d5a561e31cc 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