Cleaning /tmp on boot

Paul Richards paul.richards at gmail.com
Thu Feb 24 12:42:18 GMT 2005


Hi,
Is there an easy way to have FreeBSD (RELEASE-5.3) clean /tmp on boot
by means of setting a flag or something in /etc/rc.conf?  I'd like to
check before I start manually hacking up my boot scripts to get this
done.

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.



-- 
Paul Richards


More information about the freebsd-questions mailing list