diff options
author | Warner Losh <imp@FreeBSD.org> | 2006-11-24 18:53:45 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2006-11-24 18:53:45 +0000 |
commit | c5728901956c0f3218e04006cac64ceba2864ebc (patch) | |
tree | ce91772f16aea13e8c589d9434a270c4af166c1d /share/man/man4/md.4 | |
parent | 234e688e0c538a5559a0416b96c4e774408c4569 (diff) |
Notes
Diffstat (limited to 'share/man/man4/md.4')
-rw-r--r-- | share/man/man4/md.4 | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/share/man/man4/md.4 b/share/man/man4/md.4 index 71ed28f2b7c10..f13de64881b96 100644 --- a/share/man/man4/md.4 +++ b/share/man/man4/md.4 @@ -7,7 +7,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 9, 2001 +.Dd November 24, 2006 .Dt MD 4 .Os .Sh NAME @@ -55,6 +55,23 @@ Backing store is allocated from swap space. .Pp For more information, please see .Xr mdconfig 8 . +.Sh EXAMPLES +To create a kernel with a ramdisk or MD file system, your kernel config +needs the following options: +.Bd -literal -ofset indent +options MD_ROOT #MD is a potential root device +options MD_ROOT_SIZE=8192 # 8MB ram disk +makeoptions MFS_IMAGE=/h/foo/ARM-MD +options ROOTDEVNAME=\"ufs:md0\" +.Ed +The image in +.Pa /h/foo/ARM-MD +will be loaded as the initial image each boot. +To create the image to use, please follow the steps to create a file-backed +disk found in the +.Xr mdconfig 8 +man page. +Other tools will also create these images, such as NanoBSD. .Sh SEE ALSO .Xr disklabel 5 , .Xr disklabel 8 , |