Subject: Re: memory disk mounting
To: None <netbsd-help@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-help
Date: 08/02/2001 15:51:10
In article <A2BA7C0A67B1D411ACB500B0D078A847036EA544@hermes.hyperchip.com>,
Huy Vu <hvu@hyperchip.com> wrote:
>I would like to create a ramdisk under NetBSD...  I have been reading the
>man page on "md", "mdconfig" and didn't get enough information how how to
>create FS once the disk is created.  After "mdconfig" I can see the process
>running in the back ground.
>
>I then tried the "disklabel" but got IOCTL errors...
>
>Can anyone point me to any documentation how how to create a ramdisk, and
>mount it ...

Do you want a ramdisk such as the stuffed-root-in-kernel
which we use during the installation process?
Then look under /usr/src/distrib/i386/floppies for an example.

Or do you want a memory based filesystem, in which case 'man mfs'...

christos