From owner-freebsd-questions Tue Nov 20 14:24: 3 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-203-60.mmcable.com [65.31.203.60]) by hub.freebsd.org (Postfix) with SMTP id 4497037B405 for ; Tue, 20 Nov 2001 14:23:54 -0800 (PST) Received: (qmail 80011 invoked by uid 100); 20 Nov 2001 22:24:07 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15354.55303.226386.149612@guru.mired.org> Date: Tue, 20 Nov 2001 16:24:07 -0600 To: fergus Cc: questions@freebsd.org Subject: Re: md tmp In-Reply-To: <45258813@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 fergus types: > was thinking about setting tmp as a memory backed filesystem - seems > pretty standard but i couldn't find any FAQ on it. > > anyone running this ? ( guess that's pretty stupid question ) Yes, but I recommend using mfs instead of md. > but if so - how do you get tmp mounted early enough since i guess you > have to 'dd' the size at boot time to create it ? Not if you use mfs instead of md. For that, you just put the appropriate entry in /etc/fstab. > is there a standard way to do this or do i just have to write this into > rc scripts before anything that needs it ? There's no knob to set in rc.conf, if that's what you want. You can look at rc.diskless1 for one way of mounting it, and the md man page for a sequence to create it. > if so, anyone done it ? will 'rc.d' script & force mount over tmp do > the job ? or do we need to get in earlier ? It looks like everything should work fine if you put it in /etc/rc.local - except vi recovery files. You'll have to put it in /etc/rc if you need that to work. 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