Subject: Re: Help with memory disk
To: None <jrp@hispabsd.org>
From: None <roberto@redix.it>
List: netbsd-help
Date: 05/16/2003 15:25:23
OK I've red the man pages and I tried the following command:

mount_mfs -s <size> swap /ramdisk

and seems to work, but what about the following questions:

1) man mount_mfs states: "Before running newfs or mount_mfs, the disk must
be labeled using disklabel"

2) what exactly means "special" in syntax: "mount_mfs special mount_point"
Why swap is usually used? and if I've not disks or swap space I cannot use
memory fs?

thanks,
Roberto

> On Fri, 16 May 2003 14:07:11 +0200 (CEST)
> <roberto@redix.it> wrote:
>
>>
>> I'd like to setup several memory disk (ramdisk), but I did not find
>> any helpful info on the docs (sorry).
>> I'd like to know:
>>  - what are the kernel options to enable ramdisk?;
>>  - which are device files I need?;
>>  - what command to create, mk file sys. and mount?
>
> I think that you needs mount_mfs, and
> options MFS in your kernel (the GENERIC kernel
> at least i386 has it by default).
>
> HTH,
> --
> Juan RP		jrp@hispabsd.org
> --