Features/tmp-on-tmpfs

From FedoraProject

< Features(Difference between revisions)
Jump to: navigation, search
Line 22: Line 22:
 
We'd like to mount a tmpfs on /tmp by default, but still allow administrators to opt out from this.
 
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. Ubuntu has plans for their 12.10 release.
+
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 ==
 
== Benefit to Fedora ==
Line 36: Line 36:
 
systemd upstream needs a minimal change to ship a mount unit for /tmp by default.
 
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 been started by Debian.
+
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 ==
 
== How To Test ==

Revision as of 17:21, 22 March 2012

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

Contents

/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