Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jul 2015 13:02:42 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r285870 - head/sys/boot/common
Message-ID:  <201507251302.t6PD2ggP033458@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Sat Jul 25 13:02:41 2015
New Revision: 285870
URL: https://svnweb.freebsd.org/changeset/base/285870

Log:
  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

Modified:
  head/sys/boot/common/loader.8

Modified: head/sys/boot/common/loader.8
==============================================================================
--- head/sys/boot/common/loader.8	Sat Jul 25 11:10:49 2015	(r285869)
+++ head/sys/boot/common/loader.8	Sat Jul 25 13:02:41 2015	(r285870)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507251302.t6PD2ggP033458>