tmpfs in /etc/fstab ....

William A. Mahaffey III wam at hiwaay.net
Sat Sep 13 11:29:14 UTC 2014



*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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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.



More information about the freebsd-questions mailing list