From owner-freebsd-questions@FreeBSD.ORG Sat Sep 13 11:29:14 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DAE5A28F for ; Sat, 13 Sep 2014 11:29:14 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A3B27D11 for ; Sat, 13 Sep 2014 11:29:14 +0000 (UTC) Received: from [192.168.0.27] (rbn1-216-180-76-184.adsl.hiwaay.net [216.180.76.184]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id s8DBTCIt029133 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 13 Sep 2014 06:29:12 -0500 Message-ID: <54142BFE.2050403@hiwaay.net> Date: Sat, 13 Sep 2014 06:35:26 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: tmpfs in /etc/fstab .... References: <5413C2DA.5040105@hiwaay.net> <5413C6B9.3090700@comcast.net> In-Reply-To: <5413C6B9.3090700@comcast.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2014 11:29:14 -0000 *Boooooyah* !!!! Exactly the guidance I need !!!! Thanks :-) .... On 09/12/14 23:23, Dave Babb wrote: > This should help you. > > I use tmpfs for /tmp, I use tmpfs for a RamDisk where I do a lot of > small compilations, and I also use tmpfs for my /usr/obj tree. I have > an SSD that I want to protect at all costs. tmpfs will use half of > your ram before going to swap. In my case, I have 32Gb of ram and no > swap. > > I just did a buildworld, followed by a portmaster -af. At the worst > case...I was using 7% of my tmpfs ram, according to df -h....7 % of > 16Gb is only 1.12 Gb. > > So I had no issue doing some heavy duty system rebuilding from > ram......via tmpfs. I did this the long way because I needed the > experience...I understand and have been told that there are easier and > shorter ways.....But I did it to learn about rebuilding world which to > date I had never done. > > > > Hope this helps! > > > Dave > > > > > > On 09/12/14 22:06, William A. Mahaffey III wrote: >> >> >> .... I would like to enable use of tmpfs on my FBSD 9.3 box for >> performance. The box has 16 GB of both RAM & swap. I added >> 'tmpfs_load="YES"' to my /boot/loader.conf, but I can't figure out >> what to put in /etc/fstab to allow the process to happen >> automatically upon reboot. Specifically, what is the device I should >> be using. The man page gives the mount command, which looks like the >> device is called 'tmpfs'. Is that correct ? Are there any issues w/ >> this procedure ? TIA .... >> >> > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.