RFC on Cloud Images: Make /tmp a tmpfs

Serge Hallyn serge.hallyn at ubuntu.com
Wed Jan 13 23:10:59 UTC 2016


Quoting Clint Byrum (clint at ubuntu.com):
> Excerpts from Martin Pitt's message of 2016-01-13 14:00:16 -0800:
> > Ben Howard [2016-01-13 14:26 +0200]:
> > > On the Ubuntu Cloud Images, we have a request to make /tmp a tmpfs. The
> > > rationale, from the bug:
> > >  * Performance - much faster read/write access to data in /tmp
> > >  * Security - sensitive data would be cleared from memory on boot,
> > >    rather than written (leaked) to disk -- important for encryption
> > >    scenarios
> > > 
> > > Since the Ubuntu Cloud Images are used by a wide number of users, I
> > > wanted to gather feedback and gather consensus on whether or not we
> > > should make this change.
> > 
> > I really wish we would do this in general for new installs, at least
> > as the first thing after releasing 16.04 LTS. I also do this on my
> > boxes, not only for the reasons above [1], but also because it is much
> > more power efficient -- as I literally work in /tmp a lot of my time
> > the disk doesn't need to spin up often.
> > 
> 
> You know they have these new disks that don't "spin"... ;-)

They also tend to wear out.



More information about the ubuntu-devel mailing list