HowTo: Regular cleanup the Tempfolders on openSUSE

Filed under
Howtos

If you would like to cleanup regularly your System, we presenting the following Steps!

Launch YaST:

Choose Category “System”, then “Editor for /etc/sysconfig Files”.

Then open “System” and after that open “Cron”.

Here you find the following Entrys:

More here http://lizards.opensuse.org/2009/07/19/howto-regular-cleanup-the-tempfolders/

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

/tmp as tmpfs?

Should you have enough physical memory in your system (I'm doing this with 4Gb)

mount /tmp as a tmpfs

my line from /etc/fstab

tmpfs /tmp tmpfs auto,size=512M,uid=0,gid=0,mode=1777 0 0

There are some progs that store data between reboots in /tmp (although they should use /var/tmp) so it's potentially dangerous.

It means that thumbnails stored here get wiped and regenerated after every boot but if the data in /tmp is in memory then it's quicker (no HDD access time) and it is lost at power down.

(running on opensuse 11.1 and yet to see any problems)