From Fedora Project Wiki

< Features

Revision as of 17:34, 22 March 2012 by Kay (talk | contribs)

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Important.png
Set a Page Watch
Make sure you click watch on your new page so that you are notified of changes to it by others, including the Feature Wrangler
Note.png
All sections of this template are required for review by FESCo. If any sections are empty it will not be reviewed

/tmp on tmpfs

Summary

We'd like to mount a tmpfs on /tmp by default. (Administrators can override this)

Owner

Current status

  • Targeted release: Fedora 18
  • Last updated: 2012-03-22
  • Percentage of completion: 0%

Detailed Description

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.

Scope

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.

How To Test

User Experience

Dependencies

Contingency Plan

Documentation

Release Notes

Comments and Discussion