Language Selection

English French German Italian Portuguese Spanish

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)

More in Tux Machines

Leftovers: Gaming

Leftovers: Software

today's howtos

ACPI, kernels and contracts with firmware

This ends up being a pain in the neck in the x86 world, but it could be much worse. Way back in 2008 I wrote something about why the Linux kernel reports itself to firmware as "Windows" but refuses to identify itself as Linux. The short version is that "Linux" doesn't actually identify the behaviour of the kernel in a meaningful way. "Linux" doesn't tell you whether the kernel can deal with buffers being passed when the spec says it should be a package. "Linux" doesn't tell you whether the OS knows how to deal with an HPET. "Linux" doesn't tell you whether the OS can reinitialise graphics hardware. Read more