putting "/tmp" to memory

Jerry freebsd.user at seibercom.net
Mon Jan 24 12:52:09 UTC 2011

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.

Jerry ✌
FreeBSD.user at seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.

Critics are like eunuchs in a harem: they know how it is done, they have
seen it done every day, but they are unable to do it themselves.

	Brendan Behan

More information about the freebsd-questions mailing list