Warning: Symlinking /tmp makes it not get automatically cleaned!
I found out that Linux installations tend to have a cron job in /etc/cron.daily/tmpwatch that automatically cleans out files inside /tmp that hasn't been used in 10 days.However, it doesn't work if /tmp has been symlinked to another directory, say, /home2/tmp, because tmpwatch doesn't follow symlinks (think about what would happen otherwise if anyone symlinked something inside /tmp to /!).
In order to make tmpwatch work again under this condition, /etc/cron.daily/tmpwatch must be edited to point to the real directory (e.g. /home2/tmp) instead of the symlink.
I just found that out now, when I was wondering why my /tmp directory was filled with so much junk from the past few months.