putting "/tmp" to memory

David Naylor naylor.b.david at gmail.com
Mon Jan 24 21:13:58 UTC 2011


On Monday 24 January 2011 14:52:05 Jerry wrote:
> On Mon, 24 Jan 2011 12:18:21 +0000
> 
> RW <rwmaillists at googlemail.com> articulated:
> > I have
> > 
> > tmpfs    /tmp   tmpfs  rw,size=4280000000
> > 
> > I would suggest you don't use tmpmfs="YES" in rc.conf unless you are
> > being very conservative with a production server. tmpfs is nominally
> > experimental, but it seems to be very stable, and it's much more
> > memory efficient than md devices.
> 
> On a FreeBSD 8.2-PRERELEASE, I have the following:
> 
> cat /etc/fstab | grep -i "tmpfs"
> tmpfs	/tmp	tmpfs	rw,mode=01777	0	0
> 
> It works very well and I have not noticed any problems whatsoever.

I have noticed that editors/openoffice.org-3 will fail to build if /tmp is 
tmpfs.  Other than that it has been stable for me.  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20110124/9c4d26ef/attachment.pgp


More information about the freebsd-questions mailing list