Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2001 20:31:13 +0800
From:      Michael Boman <michael.boman@securecirt.com>
To:        chip@chocobo.cx, Chip Marshall <chip@setzer.chocobo.cx>, Michael Boman <michael.boman@securecirt.com>
Cc:        freebsd-small@FreeBSD.ORG
Subject:   SOLVED: Re: Problem with MD devices in PicoBSD
Message-ID:  <01070420311300.57017@ayeka.dyndns.org>
In-Reply-To: <20010702105514.A78399@setzer.chocobo.cx>
References:  <200106301545.RAA25290@info.iet.unipi.it> <01070114362400.28977@luggage> <20010702105514.A78399@setzer.chocobo.cx>

next in thread | previous in thread | raw e-mail | index | archive | help

On Monday 02 July 2001 22:55, Chip Marshall wrote:
> On July 01, 2001, Michael Boman sent me the following:
> > Ok, I've added the vn* devices, both in the kernel and in the
> > ~net/config file and they get created. How can I make a 30 Mb ramdisk
> > on the fly from here? I am sorry to bother you but I cant find any
> > concrete information on the websites. The only thing I find is to use
> > vnconfig, but can't find any info how to create a disk from thin air.
>
> If you're trying to create the space on the fly, isn't that more the
> job of mount_mfs than md? Or am I missing something?

Yes, that's totaly correct.

Here is the steps for the archives if the question comes up again:

edit crunch.conf and add

progs newfs
ln newfs mount_mfs

I mount my ramdisk like this:
/sbin/mount_mfs -s 32768 -T ramdisk dummy /usr/local

where my /etc/disktab entry for ramdisk looks like this:

ramdisk:\
        :ty=mfs:se#1024:nt#1:rm#300:\
        :ns#32000:nc#1:\
        :pa#32000:oa#0:ba#4096:fa#512:\
        :pc#32000:oc#0:bc#4096:fc#512:


Best regards
 Michael Boman

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01070420311300.57017>