aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2015-07-25 20:15:29 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2015-07-25 20:15:29 +0000
commitcaf9bbecdce95812ac2b503ae2e7fffb3d42bf8d (patch)
treec67e76547095eba3df2542aa664224cb253a5a41
parenta82cd51680272f3e43bf0d1c38179612018afb2f (diff)
downloadsrc-caf9bbecdce95812ac2b503ae2e7fffb3d42bf8d.tar.gz
src-caf9bbecdce95812ac2b503ae2e7fffb3d42bf8d.zip
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
Notes
Notes: svn path=/head/; revision=285881
-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 32d6582f4114..b4d5f3edb598 100644
--- a/sys/boot/forth/loader.conf
+++ b/sys/boot/forth/loader.conf
@@ -67,6 +67,16 @@ ram_blacklist_type="ram_blacklist" # Required for the kernel to find
##############################################################
+### 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 ########################################
##############################################################