Using TMPFS for /tmp and /var/run?
Eric van Gyzen
eric at vangyzen.net
Thu Mar 29 19:51:10 UTC 2012
On 03/29/12 09:18, O. Hartmann wrote:
> I was wondering if there are some objections using TMPFS for /tmp and
> /var/run.
For /tmp, what exactly do you mean?
If you want to use tmpfs instead of md/mdmfs when tmpmfs="YES" in
rc.conf, I have no opinion.
However, if you always want to use tmpfs instead of stable storage,
please do not. Some people expect /tmp to be persistent. This is why
/etc/defaults/rc.conf has clear_tmp_enable="NO". Changing this would
break the POLA.
Cheers,
Eric
More information about the freebsd-current
mailing list