Subject: Creating a mountable FS on the memory disk (md)
To: None <port-macppc@netbsd.org>
From: Sanjay Lal <sanjayl@siara.com>
List: port-macppc
Date: 02/11/2000 13:38:18
Hi,

I am trying to figure out how I'd go about using
a ramdisk (device md) as my root file system.
I have looked at the GENERIC_MD config file.  This
does allow you to setup device md (memory disk) as
the root fs.  There is an array in md_root.c that
needs to be "patched" so that it contains the image
of an fs.  My question(s) are:

(1) Where do u get or how do u create an image suitable
for patching into the array. I am assuming here
that we could create an fs of the same size, and then
dd it off to a file????

(2) How do you patch the array.

Any help would be greatly appreciated.

Regards and thanks
Sanjay