Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 39668

Summary: default /tmp mounted as tmpfs
Product: Gentoo Linux Reporter: Simon Cooper <thecoop>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: radek
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Simon Cooper 2004-01-28 08:03:27 UTC
A lot of people have been having problems of /tmp filling up their hard disk. I suggest having, by default, /tmp mounted as a tmpfs. ie, in /etc/fstab _by_default_ have:
none                    /tmp            tmpfs           defaults        0 0

I have had this for several months now, and have had no ill effects whatsoever. /tmp gets wiped every reboot and it has unlimited size (well, as big as your mem/swap), unlike your hard disk. 

Reproducible: Always
Steps to Reproduce:
Comment 1 SpanKY gentoo-dev 2004-01-28 14:44:16 UTC
iirc this has come up before the answer has been 'no'
Comment 2 Jon Portnoy (RETIRED) gentoo-dev 2004-01-28 14:48:32 UTC
The answer is still no. 8)

It's not expected behavior and most people don't want to use perfectly good RAM for /tmp