On Mon, Mar 10, 2003 at 10:24:22PM +0100, Dick Hoogendijk wrote:
> Debian linux cleans it's /tmp on every reboot (IF you reboot ;-)
> FreeBSD does not clean up. Lots of files stay in /tmp
> 
> Question: can I manually clean /tmp or is it better to leave things
> alone..??

You can do a clean on reboot by adding in /etc/rc.conf:

    clear_tmp_enable="YES"              # Clear /tmp at startup.

You can alternatively get your system to clear /tmp periodically by
adding into /etc/periodic.conf:

    daily_clean_tmps_enable="YES"       # Delete stuff daily

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
----------------------------------------------------------------------
                "If everything's under control, you're going too slow"
                                                      - Mario Andretti

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to