Subject: Re: Help with memory disk
To: None <netbsd-help@netbsd.org>
From: None <roberto@redix.it>
List: netbsd-help
Date: 05/20/2003 14:53:51
I'd like to setup a ramdisk (on netbsd 1.6 GENERIC) for temporary files,
without any file image and real disk device (eg. swap partition, so I
prefer to not use mount_mfs).

As suggested I'm using md and mdconfig:

1) I've 2 device in /dev:
md0a b 17, 0
md0d b 17, 3

(a first question: what is the means of these device?)

2) to create a 8 MB of ramdisk I run: "mdconfig /dev/md0a 9192 & "

3) before I can mount it I should create a file system with newfs; is it
correct?


Thanks in advance,
Roberto