From owner-freebsd-small Wed Jul 4 5:36:40 2001 Delivered-To: freebsd-small@freebsd.org Received: from westgate.starhub.net.sg (westgate.starhub.net.sg [203.116.1.190]) by hub.freebsd.org (Postfix) with ESMTP id D93CE37B401 for ; Wed, 4 Jul 2001 05:36:36 -0700 (PDT) (envelope-from michael@securecirt.com) Received: from ayeka.dyndns.org (mcns98.docsis48.singa.pore.net [202.156.48.98]) by westgate.starhub.net.sg (8.10.1/8.10.1) with SMTP id f64CaQF08358; Wed, 4 Jul 2001 20:36:27 +0800 (SST) Content-Type: text/plain; charset="iso-8859-1" From: Michael Boman Organization: SecureCiRT To: chip@chocobo.cx, Chip Marshall , Michael Boman Subject: SOLVED: Re: Problem with MD devices in PicoBSD Date: Wed, 4 Jul 2001 20:31:13 +0800 X-Mailer: KMail [version 1.2] Cc: freebsd-small@FreeBSD.ORG References: <200106301545.RAA25290@info.iet.unipi.it> <01070114362400.28977@luggage> <20010702105514.A78399@setzer.chocobo.cx> In-Reply-To: <20010702105514.A78399@setzer.chocobo.cx> MIME-Version: 1.0 Message-Id: <01070420311300.57017@ayeka.dyndns.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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