as I said just one comment before your's.
it is save to do
sudo rm -rf /var/tmp/*
as you can see in /var/tmp/ are mostly old temporary files in:
- they care "tmp" in it's name
- are generated from akmod during compile of your module for your nvidia graphic card
- the most current files/directories are with "systemd" in it's name.
(at least) on my box the sub-directories in this directories are uncurrent and mostly
empty.
they're generated at boot.
if you want to have an automatical cleanage for /var/tmp:
=============================================
1. add the following line to your /etc/fstab
"tmpfs /var/tmp tmpfs defaults,nosuid,nodev,noexec,mode=1777 0 0"
- without the ' " ' ! -
2. sudo rm -rf /var/tmp/*
3. sudo mount /var/tmp
3b. check with:
df -h | grep var
what it does:
==========
it puts the directory /var/tmp into your RAM.
means:
all files/directories in there will only exist as long as your box is up.
so if you shut down your box the contents of /var/tmp will be emptied/depleted (wording
?).
it's the same as it happens with /tmp.
the initial(!) size of /var/tmp/ is half of your RAM, that should be ~ 8 GB - if I pick
this right -