A sort of "unionfs" over a regular /tmp (or /tmp over the / partition for that matter) in conjunction of a tmpfs with priority to use RAM space 1st would solve most of the problems... no?
Posted Jun 2, 2012 18:35 UTC (Sat) by ncm (subscriber, #165)
[Link]
A common cautionary tale template has an engineer confronting a problem and choosing a shortcut: "... and then the engineer had two problems". Unionfs has fundamental shortcomings that make it a problem where its usage pattern is not severely constrained.
How would this work, exactly? Would a daemon move big files out of tmpfs /tmp to a shadowed on-disk /tmp? This might steer clear of unionfs's shortcomings.