Hasty Briefsbeta

A Deep Dive into Debian 13 /tmp: What's New, and What to Do If You Don't Like It

12 days ago
  • #Debian
  • #System Administration
  • #Linux
  • Debian 13 'Trixie' changes /tmp to use tmpfs, storing files in memory instead of on disk.
  • tmpfs offers faster access but files are temporary and lost on reboot.
  • Default allocation for /tmp is 50% of RAM, adjustable via systemctl edit tmp.mount.
  • Automatic cleanup deletes unused files in /tmp after 10 days and in /var/tmp after 30 days.
  • Low-memory systems may find the default tmpfs allocation too high, but it can be disabled with systemctl mask tmp.mount.