Features/tmp-on-tmpfs

From FedoraProject

< Features(Difference between revisions)
Jump to: navigation, search
(Created page with " {{admon/important | 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}} {{adm...")
 
Line 1: Line 1:
 
 
{{admon/important | 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}}
 
{{admon/important | 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}}
  
Line 23: 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. Debian's development distribution does the same. Ubuntu has plans, too.
+
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.
  
 
== Benefit to Fedora ==
 
== Benefit to Fedora ==
<!-- What is the benefit to the platform?  If this is a major capability update, what has changed?  If this is a new feature, what capabilities does it bring? Why will Fedora become a better distribution or project because of this feature?-->
+
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 ==
 
== Scope ==
<!-- What work do the developers have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
+
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.
  
 
== How To Test ==
 
== How To Test ==

Revision as of 17:20, 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. 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 been started by Debian.

How To Test

User Experience

Dependencies

Contingency Plan

Documentation

Release Notes

Comments and Discussion