Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jul 2015 20:15:29 +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: r285881 - head/sys/boot/forth
Message-ID:  <201507252015.t6PKFTpx015430@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Sat Jul 25 20:15:29 2015
New Revision: 285881
URL: https://svnweb.freebsd.org/changeset/base/285881

Log:
  Add md_root example to defaults/loader.conf.
  
  Note that this doesn't quite work yet - the preloaded image
  gets loaded twice for some reason.
  
  MFC after:	1 month
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/boot/forth/loader.conf

Modified: head/sys/boot/forth/loader.conf
==============================================================================
--- head/sys/boot/forth/loader.conf	Sat Jul 25 19:30:26 2015	(r285880)
+++ head/sys/boot/forth/loader.conf	Sat Jul 25 20:15:29 2015	(r285881)
@@ -67,6 +67,16 @@ ram_blacklist_type="ram_blacklist"	# Req
 
 
 ##############################################################
+###  Initial memory disk settings  ###########################
+##############################################################
+
+#initmd_load="YES"		# The "initmd" prefix is arbitrary.
+#initmd_type="md_image"		# Create md(4) disk at boot.
+#initmd_name="/boot/root.img"	# Path to a file containing the image.
+#rootdev="ufs:/dev/md0"		# Set the root filesystem to md(4) device.
+
+
+##############################################################
 ###  Loader settings  ########################################
 ##############################################################
 



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