• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Housekeeping

balanga

Daemon

Thanks: 50
Messages: 1,754

#1
/tmpWould any care to share some of their housekeeping procedures?

I have lots of *.core files all over the place as well as a /tmp directory which is a general dumping ground...

Should I run a tidy up as part of the boot process and zap the /tmp directory?
I believe there is an option for doing this, but can't remember where I saw it.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 5,508
Messages: 25,692

#4
Should I run a tidy up as part of the boot process and zap the /tmp directory?
I use tmpfs(5) for /tmp. So it's always completely empty after a reboot.

If you want/need to use a disk for /tmp these options for rc.conf could also be helpful:
Code:
clear_tmp_enable="NO"   # Clear /tmp at startup.
clear_tmp_X="YES"       # Clear and recreate X11-related directories in /tmp