From owner-freebsd-questions@FreeBSD.ORG Thu Nov 11 06:05:13 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 56E5616A4CE for ; Thu, 11 Nov 2004 06:05:13 +0000 (GMT) Received: from mail.tpgi.com.au (mail7.tpgi.com.au [203.12.160.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7CA243D1D for ; Thu, 11 Nov 2004 06:05:12 +0000 (GMT) (envelope-from adam.chen@tpg.com.au) Received: from [192.168.1.1] (220-244-162-42-sa.tpgi.com.au [220.244.162.42]) (authenticated bits=0) by mail.tpgi.com.au (8.12.10/8.12.10) with ESMTP id iAB654ed029647; Thu, 11 Nov 2004 17:05:05 +1100 From: LEI CHEN To: Giorgos Keramidas In-Reply-To: <20041111054137.GA656@gothmog.gr> References: <1100098727.8070.5.camel@Tany.tabcuz.net> <20041110150727.GA33927@orion.daedalusnetworks.priv> <1100101672.8070.12.camel@Tany.tabcuz.net> <20041110155146.GA60145@orion.daedalusnetworks.priv> <1100103100.8070.15.camel@Tany.tabcuz.net> <20041110171405.GA1413@orion.daedalusnetworks.priv> <1100109989.8070.22.camel@Tany.tabcuz.net> <20041111054137.GA656@gothmog.gr> Content-Type: text/plain Message-Id: <1100153205.8070.28.camel@Tany.tabcuz.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 11 Nov 2004 16:36:45 +1030 Content-Transfer-Encoding: 7bit X-TPG-Antivirus: Passed cc: freebsd-questions@freebsd.org Subject: Re: about the tmpmfs="YES" in rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 06:05:13 -0000 On Thu, 2004-11-11 at 16:11, Giorgos Keramidas wrote: > On 2004-11-11 04:36, LEI CHEN wrote: > >On Thu, 2004-11-11 at 03:44, Giorgos Keramidas wrote: > >> If you're using the -pipe option of gcc, it shouldn't make such a > >> great difference where /tmp is. I suspect it will make a HUGE > >> difference where your /usr/obj tree is stored though. > > > > yes, I've read this in the handbook, /usr/obj shadows /usr/src > > directories. > > Cool :) > > > But how can I put it into memory? > > Using mdmfs(8). The mdmfs(8) utility is what does all the work behind > the tmpmfs="YES" option in rc.conf. > I've found this url http://bsdvault.net/sections.php?op=viewarticle&artid=53 very helpful. But I got only 256Mb of memory, so I can't mount 300Mb mfs into RAM. And therefore I can only mount 128Mb or so. Well in this case, would there be a memory overflow during make world? And what to do if this is the case? Cheers, LEI >