From owner-freebsd-questions Mon Sep 23 11: 3:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2425737B401 for ; Mon, 23 Sep 2002 11:03:35 -0700 (PDT) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69B3F43E6E for ; Mon, 23 Sep 2002 11:03:34 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198]) by be-well.ilk.org (8.12.6/8.12.5) with ESMTP id g8NI3TLm031234; Mon, 23 Sep 2002 14:03:29 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.6/8.12.6/Submit) id g8NI3T7m031231; Mon, 23 Sep 2002 14:03:29 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f To: "Marcus I. Ryan" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Creating large memory disks References: <1032550772.3d8b79748b94c@imp.riboflavin.net> From: Lowell Gilbert Date: 23 Sep 2002 14:03:29 -0400 In-Reply-To: <1032550772.3d8b79748b94c@imp.riboflavin.net> Message-ID: <4465wwshvy.fsf@be-well.ilk.org> Lines: 17 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Marcus I. Ryan" 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