[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Idea: mount /tmp to tmpfs depending on free space and RAM



On Sat, Jun 02, 2012 at 02:56:03PM +0200, Philipp Kern wrote:
If you assume an unexpected reboot, then all that data will be lost,

Well, I can count my unexpected reboots in the last years with one hand, so this is not a problem. And as already mentioned, you can configure with TMPTIME in /etc/default/rcS, which files in /tmp will be deleted.

you to redownload these images. Couldn't /var/tmp serve this purpose better, if it's not exactly ephemeral data? (Like a temporary ISO created from on-disk content.)

Since I’m not interested in filling my /var partition with tmp files (and so getting problems with databases or logs), /var/tmp is always a link to /tmp.

Shade and sweet water!

	Stephan

--
| Stephan Seitz          E-Mail: stse@fsing.rootsland.net |
| Public Keys: http://fsing.rootsland.net/~stse/keys.html |

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Reply to: