Add instructions for creating a ramdisk root image. These likely need
to be augmented with instructions for those platforms that have /boot/loader.
This commit is contained in:
parent
491108697b
commit
03f10acc6e
@ -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 ,
|
||||
|
Loading…
x
Reference in New Issue
Block a user