From owner-freebsd-questions@FreeBSD.ORG Thu Oct 28 10:54:32 2004 Return-Path: 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 1036A16A4CE for ; Thu, 28 Oct 2004 10:54:32 +0000 (GMT) Received: from catflap.slightlystrange.org (cpc2-cmbg1-3-0-cust94.cmbg.cable.ntl.com [213.107.104.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FEC043D2F for ; Thu, 28 Oct 2004 10:54:31 +0000 (GMT) (envelope-from www@slightlystrange.org) Received: from www by catflap.slightlystrange.org with local (Exim 4.43 (FreeBSD)) id 1CN7vG-0006vb-FG; Thu, 28 Oct 2004 11:54:26 +0100 Received: from 154.8.22.73 (SquirrelMail authenticated user dan); by catflap.slightlystrange.org with HTTP; Thu, 28 Oct 2004 11:54:26 +0100 (BST) Message-ID: <55221.154.8.22.73.1098960866.squirrel@154.8.22.73> Date: Thu, 28 Oct 2004 11:54:26 +0100 (BST) From: "Daniel Bye" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal References: <1098939704.41807d38833d4@postoffice.tpg.com.au> In-Reply-To: Sender: World Wide Web Owner cc: adslvmlg@tpg.com.au Subject: Re: howto put /tmp partition into /md0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd@slightlystrange.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2004 10:54:32 -0000 On Thu, 28 October, 2004 8:13 am, Panagiotis Christias said: > On Thu, 28 Oct 2004 15:01:44 +1000, adslvmlg@tpg.com.au > wrote: >> Hi guys, Has any tuned their freebsd to put the /tmp partition into the >> memory disk? I have followed the procedures on this url, but no luck to >> get it working. >> >> http://www.onlamp.com/pub/a/onlamp/excerpt/BSDHacks_chap1/index.html?pa >> ge=2 >> >> Can some one please point me to a detailed article or some other >> howtos? >> >> ps: please cc me to this email address, because I am not registered in >> this list. >> >> Thanks. >> >> Regards, LEI CHEN > > In case you are using FreeBSD 5.3: > > # egrep tmp /etc/defaults/rc.conf tmpmfs="AUTO" # Set to YES to > always create an mfs /tmp, NO to never tmpsize="20m" # Size of > mfs /tmp if created > Cool - didn't know you could do that! Lei, the article you cited above is about as detailed as it needs to be. It's the very same one I used a while ago to move my /tmp into RAM. If it's not working, let us know what happens - "no luck to get it working" isn't very useful as a statement of your symptoms! ;-) Ideally, tell us what `uname -a' says, and any salient extracts from your messages log file, any errors/warnings generated if you try to mount the memory disk manually, etc. Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \