Date: Sat, 13 Sep 2014 06:35:26 -0500 From: "William A. Mahaffey III" <wam@hiwaay.net> To: freebsd-questions@freebsd.org Subject: Re: tmpfs in /etc/fstab .... Message-ID: <54142BFE.2050403@hiwaay.net> In-Reply-To: <5413C6B9.3090700@comcast.net> References: <5413C2DA.5040105@hiwaay.net> <5413C6B9.3090700@comcast.net>
next in thread | previous in thread | raw e-mail | index | archive | help
*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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54142BFE.2050403>