summaryrefslogtreecommitdiffstats
path: root/sys/boot/forth
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2015-10-18 14:20:11 +0000
committertrasz <trasz@FreeBSD.org>2015-10-18 14:20:11 +0000
commit7709ac4a9ee0b43fd984b5c20baa87f174c9078f (patch)
tree3e88110db75a772c83162d3182c190226cb26dd6 /sys/boot/forth
parent4b63839e8d029cdff68f30192160384ed36373a8 (diff)
downloadFreeBSD-src-7709ac4a9ee0b43fd984b5c20baa87f174c9078f.zip
FreeBSD-src-7709ac4a9ee0b43fd984b5c20baa87f174c9078f.tar.gz
MFC r285881:
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. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/boot/forth')
-rw-r--r--sys/boot/forth/loader.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/boot/forth/loader.conf b/sys/boot/forth/loader.conf
index 3499b892..747eedd 100644
--- a/sys/boot/forth/loader.conf
+++ b/sys/boot/forth/loader.conf
@@ -50,6 +50,16 @@ entropy_cache_type="/boot/entropy"
##############################################################
+### 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 ########################################
##############################################################
OpenPOWER on IntegriCloud