svn commit: r285881 - head/sys/boot/forth

Edward Tomasz Napierala trasz at FreeBSD.org
Sat Jul 25 20:15:30 UTC 2015


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  ########################################
 ##############################################################
 


More information about the svn-src-head mailing list