On Tue, 27 Mar 2012, Frederic Crozat wrote:
Hi all,
this is a announcement regarding changes which have just landed in upstream systemd (not yet released nor pushed to Factory) regarding /media and /tmp: - /media will no longer mounted as tmpfs. This is because udisks2 will no longer use /media for mounting removables devices but /run/media/<user> - /var/run and /var/lock are no longer bind-mounted to /run | /run/lock. We should replace those directories with symlink to /run | /run/lock (probably at initrd time, this is what is done on Fedora) - /tmp is mounted as tmpfs, to make the default setups as stateless as possible. As stated on https://fedoraproject.org/wiki/Features/tmp-on-tmpfs , we might need to fix some applications to use /var/tmp instead of /tmp when they need persistent storage. Another big issue is educating users.
Btw, I see that TMPDIR is /tmp by default on 12.1. GCC uses this for all temporary files, for link-time optimizing firefox for example you need about 4GB of storage in TMPDIR. Thus, consider that (apart from my own personal opinion that a stateless /tmp is utterly stupid, a tmpfs /tmp is even more so). So, change TMPDIR to point to /var/tmp? Which would of course make /tmp quite useless. Richard. -- Richard Guenther <rguenther@suse.de> SUSE / SUSE Labs SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer