/tmp on tmpfs
We'd like to mount a tmpfs on /tmp by default. (Administrators can override this)
- Name: Lennart Poettering
- Email: lennart at poettering dot net
- Name: Kay Sievers
- Email: email@example.com
- Targeted release: Fedora 18
- Last updated: 2012-03-22
- Percentage of completion: 0%
We'd like to mount a tmpfs on /tmp by default, but still allow administrators to opt out from this.
Solaris has been doing this since 1994. Other Unixes, too. Debian's development distribution does the same. ArchLinux defaults to this too. Ubuntu has plans for their 12.10 release.
Benefit to Fedora
By implementing this we generate less IO on disks. This increases SSD lifetime and makes things a bit faster.
/tmp is automatically flushed at boot.
Bring Fedora closer to commercial Unixes and other Linux distributions.
Bring Fedora systems closer to stateless, read-only root by default systems.
systemd upstream needs a minimal change to ship a mount unit for /tmp by default.
We might need to patch a couple of packages not to store big files and files needing boot persistance in /tmp, but rather in /var/tmp. This work has already progressed due to Debian's work.