From owner-freebsd-questions@FreeBSD.ORG Wed Nov 10 15:52:25 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 8621F16A4CE for ; Wed, 10 Nov 2004 15:52:25 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AEC643D41 for ; Wed, 10 Nov 2004 15:52:20 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])iAAFq7PC012948; Wed, 10 Nov 2004 17:52:12 +0200 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) iAAFq0ht060173; Wed, 10 Nov 2004 17:52:00 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost)iAAFpkhj060164; Wed, 10 Nov 2004 17:51:46 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 10 Nov 2004 17:51:46 +0200 From: Giorgos Keramidas To: LEI CHEN Message-ID: <20041110155146.GA60145@orion.daedalusnetworks.priv> References: <1100098727.8070.5.camel@Tany.tabcuz.net> <20041110150727.GA33927@orion.daedalusnetworks.priv> <1100101672.8070.12.camel@Tany.tabcuz.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1100101672.8070.12.camel@Tany.tabcuz.net> 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: Wed, 10 Nov 2004 15:52:25 -0000 On 2004-11-11 02:17, LEI CHEN wrote: >On Thu, 2004-11-11 at 01:37, Giorgos Keramidas wrote: >>On 2004-11-11 01:28, LEI CHEN wrote: >>> I have just upgraded to 5-stable branch, and I noticed that the >>> tmpmfs="YES" and tmpsize="20m" options can be put into /etc/rc.conf >>> directly to create a memory file system automatically. >> >> Yesterday, I have committed a couple of enhancements to the tmpmfs in >> CURRENT. If you plan on using tmpmfs="YES", mail me privately and I'll >> tell you how to merge the changes with your existing setup once the tmpmfs >> stuff is merged from CURRENT to RELENG_5 (in a few days). > > I've just added those two options into /etc/rc.conf and commented out the > line in /etc/fstab. > > It works! :) > > df -h output is : > Filesystem size used avail capacity Mounted on > ... > ... > /dev/md0 31M 16k 28M 0% /tmp > > I am just wondering what would be the mfs size that suitable for me? > I have PIII 850 256MB laptop. That depends on what you usually do with temporary stuff in /tmp. The cpu speed doesn't have anything to do with this ;-)