Re: Why doesn't FreeBSD clear /tmp on bootup?
In response to sac [EMAIL PROTECTED]: I've seen OpenBSD and some other variants of Unix clearing /tmp on bootup. But FreeBSD doesn't seem to do so. Is there any specific reason for this variation or is it just a matter of taste between these different Operating Systems? http://www.freebsd.org/cgi/man.cgi?query=rc.confapropos=0sektion=0manpath=FreeBSD+6.2-RELEASEformat=html Have a look at the clear_tmp_enable variable. -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why doesn't FreeBSD clear /tmp on bootup?
I've seen OpenBSD and some other variants of Unix clearing /tmp on bootup. But FreeBSD doesn't seem to do so. Is there any specific reason for this variation or is it just a matter of taste between these different Operating Systems? You can put the following in rc.conf to do this: clear_tmp_enable=YES It's not on by default. Regards, Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why doesn't FreeBSD clear /tmp on bootup?
On Thu, May 03, 2007, sac wrote: I've seen OpenBSD and some other variants of Unix clearing /tmp on bootup. But FreeBSD doesn't seem to do so. This one is configurable in /etc/rc.conf, take a look at /etc/defaults/rc.conf for default settings and explanations: | clear_tmp_enable=NO # Clear /tmp at startup. | clear_tmp_X=YES # Clear and recreate X11-related directories in /tmp OTOH you can configure /tmp/ as memory file system (which is clear with every reboot cause of its nature) using settings like | tmpmfs=YES | tmpsize=128m | tmpmfs_flags=-S in /etc/rc.conf (in this example 128 MB of /tmp without soft-updates). -cs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]