Date: Sat, 15 Nov 1997 12:40:02 -0800 (PST) From: Steve Price <sprice@hiwaay.net> To: freebsd-bugs Subject: Re: misc/5054: /tmp not nuked on reboot Message-ID: <199711152040.MAA22435@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/5054; it has been noted by GNATS. From: Steve Price <sprice@hiwaay.net> To: evanc@synapse.net Cc: FreeBSD-gnats-submit@FreeBSD.ORG, freebsd-bugs@hub.freebsd.org Subject: Re: misc/5054: /tmp not nuked on reboot Date: Sat, 15 Nov 1997 14:35:35 -0600 (CST) On 15 Nov 1997 evanc@synapse.net wrote: # # >Fix: # # Here's what BSDI uses. Try to change a few words :-) # # echo clearing /tmp # # # prune quickly with one rm, then use find to clean up /tmp/[lq]* # # (not needed with mfs /tmp, but doesn't hurt there...) # (cd /tmp && rm -rf [a-km-pr-zA-Z]* && # find -d . ! -name . ! -name lost+found ! -name quotas \ # ! -name quota.user ! -name quota.group -exec rm -rf -- {} \;) # Try the attached patch on a -current system. This will get what you want. As far as a switch in rc.conf, you might drop pst@FreeBSD.org a line since the new periodic crontab changes are his. Steve Index: 110.clean-tmps =================================================================== RCS file: /tmp/src/cvs/src/etc/periodic/daily/110-clean-tmps,v retrieving revision 1.3 diff -u -r 1.3 110.clean-tmps --- 110.clean-tmps 1997/09/11 15:21:30 1.3 +++ 110.clean-tmps 1997/11/15 20:34:26 @@ -12,7 +12,7 @@ # run. # -exit 0 # do not run by default +#exit 0 # do not run by default if [ -d /tmp ]; then cd /tmp && {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711152040.MAA22435>