From owner-freebsd-questions Thu Mar 22 16:15:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 51C3937B71D for ; Thu, 22 Mar 2001 16:15:29 -0800 (PST) (envelope-from mwm@mired.org) Received: (qmail 42308 invoked by uid 100); 23 Mar 2001 00:15:28 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15034.38304.596810.620284@guru.mired.org> Date: Thu, 22 Mar 2001 18:15:28 -0600 To: Eric M Logan Cc: Andrew Hesford , Mike Meyer , questions@freebsd.org Subject: Re: ramdisks and mfs... In-Reply-To: <3ABA8457.A644C280@mediaone.net> References: <15033.28284.778431.468125@guru.mired.org> <3AB9B07F.E6F9D481@mediaone.net> <15034.1210.849837.67514@guru.mired.org> <3ABA5B59.6A6330C4@mediaone.net> <15034.27254.538073.247625@guru.mired.org> <3ABA7424.6036B736@mediaone.net> <20010322165925.A9880@cec.wustl.edu> <3ABA8457.A644C280@mediaone.net> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Eric M Logan types: > Thanks, time to buy some dirt cheap ram. :) Unless you know pretty what's going to be in it well enough to wire the size down accurately, you'll probably get better system performance with mfs instead of md. Andrew Hesford wrote: > > > Modify the MD_NSECT variable, yes. > > > > The MD_ROOT_SIZE=10 allows you to specify the size of a blank spot in > > the kernel for storing an md_image file. This well become your root > > device if you allow md root devices. > > > > By the way, can somebody please tell me how to put an md_image into the > > kernel like that? Is it just with some careful use of dd, is there a > > make flag, or some other method? I haven't been able to figure it out. > > > > Likewise, how can I extract the md_image from the kernel, if I want to > > modify it? PicoBSD builds a kernel with md_image built right in, but I > > can't figure out how to get the md_image in order to add some binaries. > > > > On Thu, Mar 22, 2001 at 01:52:36PM -0800, Eric M Logan wrote: > > > would I do this using the "MD_ROOT_SIZE=10" or "MD_NSECT=40000" option in the > > > kernel config? Thanks > > -- > > Andrew Hesford > > ajh3@chmod.ath.cx > > -- > ***************************** > Eric M Logan > ericmlogan@mediaone.net > eric_m_logan@yahoo.com > > ***************************** > Flames to /dev/null plz. :) > ***************************** > > > -- Mike Meyer http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message