From owner-freebsd-questions Fri Sep 28 12: 4:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-94-248-46.mmcable.com [24.94.248.46]) by hub.freebsd.org (Postfix) with SMTP id F114437B40B for ; Fri, 28 Sep 2001 12:04:54 -0700 (PDT) Received: (qmail 54671 invoked by uid 100); 28 Sep 2001 19:04:54 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15284.51670.298496.761673@guru.mired.org> Date: Fri, 28 Sep 2001 14:04:54 -0500 To: dave phinney Cc: questions@freebsd.org Subject: Re: Memory disk /tmp without swap backing In-Reply-To: <19898753@toto.iv> X-Mailer: VM 6.90 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 List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dave phinney types: > Hello, > > I'd building a system with a smallish flash drive and no swap (but plenty > of RAM), and would like to create a memory-based /tmp using md(4) or > whatever. Is this possible without swap or a file to back/initialize it? Yes. > I've checked the docs and mailing lists and haven't been able to turn up > much. There's mention of loading via module at boot, but this looks like > it needs a file. I have no idea what gives you that idea. My md man page doesn't mention swap or a file at all. On second thought, I'll modify the above answer to "Yes, providing you're running a recent release of FreeBSD." http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message