Date: 23 Sep 2002 14:03:29 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com> To: "Marcus I. Ryan" <marcus@riboflavin.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Creating large memory disks Message-ID: <4465wwshvy.fsf@be-well.ilk.org> In-Reply-To: <1032550772.3d8b79748b94c@imp.riboflavin.net> References: <1032550772.3d8b79748b94c@imp.riboflavin.net>
next in thread | previous in thread | raw e-mail | index | archive | help
"Marcus I. Ryan" <marcus@riboflavin.net> writes: > I need to know how to create a large memory disk in FreeBSD 4.6x. I've > figured out how to create a 10M malloc-backed disk, but I want a > ramdrive more on the order of 128M. How can I do that? > > The md man page indicates it's possible, but talks about preloading it > in loader.conf. However the reply from Terry Lambert to a similar > request said it should be done after boot. Any tips or guides? Those are different things. What Terry said was that you want to set up the filesystems after boot. What the manual said was that the *maximum* size of an md(4) device is set with a kernel option. If you're using a "RAM disk" for reasons that originated in DOS (e.g., faster startup of commonly used programs), remember that FreeBSD is already buffering your disk accesses... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4465wwshvy.fsf>