[HEADS-UP] Rawhide: /tmp is now on tmpfs

Simo Sorce simo at redhat.com
Fri Jun 1 16:15:52 UTC 2012


On Fri, 2012-06-01 at 11:02 -0500, Chris Adams wrote:
> Once upon a time, Reindl Harald <h.reindl at thelounge.net> said:
> > thank you for breaking setups of well thought virtual machines
> > on expensive SAN storages with a as small as possible rootfs
> > with a own virtual disk for /tmp with new defaults
> 
> If you are mounting a filesystem on /tmp, it'll be in /etc/fstab and
> still work exactly as before (if not, that's a bug and should be treated
> as such).

Chris, the problem is that now you have to add a /tmp filesystem,
before /tmp was just a normal directory in root.

It means that for fedora 18 upward but not for any other you now have to
remember to go and change this default, because honestly /tmp in RAM for
a virtual machine is just stupid if you end up using the swap file (btw
I disable the swap on my machine often exactly to avoid having the
machine trashing and using swap, when I really do not need it to).

It may be a good idea for beefy single user laptops but for anything
else it is probably more a regression than help as moving stuff from a
normal file system to swap is just going to add memory pressure to the
kernel and nothing else.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York



More information about the devel mailing list