Cleaning /tmp on boot

Lars Kristiansen lars+lister.freebsd at adventuras.no
Thu Feb 24 16:02:21 GMT 2005


> 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




More information about the freebsd-questions mailing list