Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2005 17:02:00 +0100 (CET)
From:      "Lars Kristiansen" <lars+lister.freebsd@adventuras.no>
To:        freebsd-questions@freebsd.org
Subject:   Re: Cleaning /tmp on boot
Message-ID:  <61266.213.236.228.129.1109260920.squirrel@mail.adventuras.no>
In-Reply-To: <a1138db305022404423f7afde4@mail.gmail.com>
References:  <a1138db305022404423f7afde4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Alternatively, is there something similar to tmpfs from Linux
> available on FreeBSD?  I've heard about mfs but it statically
> allocates memory from the VM, I'd prefer if allocation was done only
> as needed on demand.

Found these:
http://docs.freebsd.org/cgi/mid.cgi?41E01905.3040200
http://docs.freebsd.org/cgi/mid.cgi?45044.1105365790

So swap backed memory disks only swaps to disk when necessary.

Wish that could have been mentioned in the handbook or man-pages.
Should I try to PR that? Someone more knowledgeable will do it I hope :-)


--
Hilsen Lars




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?61266.213.236.228.129.1109260920.squirrel>