Nowadays, most popular distributions use the Tmpfs file system to handle temporary files. When in use, such files are loaded onto volatile memory (RAM

Debian 13 is Changing the /tmp Behavior

submited by
Style Pass
2024-06-07 11:30:06

Nowadays, most popular distributions use the Tmpfs file system to handle temporary files. When in use, such files are loaded onto volatile memory (RAM in this case), instead of a persistent storage device like an SSD or Hard disk.

What this accomplishes is the removal of temporary files/folders after a reboot, resulting in saved storage space, and no clutter. Moreover, you also benefit from faster retrieval times compared to persistent storage devices.

Sure, there are disadvantages, such as on systems without enough swap space where Tmpfs could take over large amounts of memory, but that's an issue if you are running with a modest amount of RAM.

Surprisingly enough, Debian never really caught on to the trend. Going back to 2012, there were calls to switch to a tmpfs system of handling temporary files, but, it never really came to pass, until now, that is.

Announced by Debian developer Luca Boccassi on the debian-devel mailing list. Debian has finally switched to a RAM-based Tmpfs system of handling /tmp files for the upcoming Debian 13 “Trixie” release.

Leave a Comment