/var/tmp hogging space
Ladies & Gents
Thanks for all the help and guidance given on this site. I discovered that /var/tmp is just loaded with data hogging space on my / disk partition. Since my partitions are encrypted resizing them is a pain. There were a lot of log files from Opera that I removed, somehow two and three year old crash logs are useless. There are also a bunch of one and two year old files like Code:
/var/tmp/mkinitramfs_uOipnE/: Code:
| mkinitramfs-FW_ANOax7 │ 0│Sep 17 13:28│ How much of it is safe to remove? Thanks |
You can certainly get rid of all the mkinitramfs* directories. They are only used when installing a new kernel and really should be deleted automatically once that is done successfully.
To keep things clean in the future, install the tmpreaper package, "Cleans up files in directories based on their age." |
Do you have logrotate installed and working? http://www.debianhelp.co.uk/logwatch.htm
|
The OP is querying /var/tmp, not /var/log.
/var/tmp is non-permanent (rather than ephemeral like /tmp). If it's been there for what you consider too long, just delete it. And certainly the initramfs stuff can go anytime IMHO. |
Thanks,
What about this type of directory? There are also a bunch of them although not as old. Code:
/systemd-private-f88d44~-daemon.service-iDw68M I will check that logrotate is working correctly and look into tmpreaper when I get a chance. Thanks again Thanks again |
All times are GMT -5. The time now is 03:00 PM. |