From owner-freebsd-hackers Thu Mar 21 15:23:27 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from swan.prod.itd.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id 9726037B404 for ; Thu, 21 Mar 2002 15:23:16 -0800 (PST) Received: from pool0042.cvx21-bradley.dialup.earthlink.net ([209.179.192.42] helo=mindspring.com) by swan.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16oBtp-0000lV-00; Thu, 21 Mar 2002 15:23:13 -0800 Message-ID: <3C9A6B4E.354EDBB7@mindspring.com> Date: Thu, 21 Mar 2002 15:22:54 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: mwest@umem.com Cc: freebsd-hackers@freebsd.org Subject: Re: a 250Meg ramdisk References: <001f01c1d111$cb03aef0$0600a8c0@www.umem.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG mwest wrote: > Would anyone know if how to pre-load modules of type `md_image' is > documented anywhere? > > I'm trying to create a 250Meg ramdisk , but have only managed one of 10 > Meg so far . > > So far what I can surmise is that it has to be done in loader.conf: > > 1) Setting [mfs_load="NO"] to YES > 2) Somehow indicated I want 250Meg for a memory disk as hinted to by one > of the last paragraphs of the md MAN page. > > "the md driver will search for pre-loaded modules of type > `md_image' and instantiate a md device for each of these modules. The > type `mfs_root' is also allowed for backward compatibility. These > devices are backed by the RAM reserved by the loader(8), and as such not > limited by the malloc(9) size constraints" The loader itself uses BIOS calls. THere is a 16M limitation on size. Probably, you don't want to do a pre-loaded version of the RAM disk anyway, if you want it taht large: you are trying to have a large read/write space for running a system, right? You want ot establish MFS's after the system is up. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message