Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2002 15:22:54 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        mwest@umem.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: a 250Meg ramdisk
Message-ID:  <3C9A6B4E.354EDBB7@mindspring.com>
References:  <001f01c1d111$cb03aef0$0600a8c0@www.umem.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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