LWN.net Logo

tmpfs on /tmp default in Debian

tmpfs on /tmp default in Debian

Posted Jun 1, 2012 15:11 UTC (Fri) by ballombe (subscriber, #9523)
In reply to: tmpfs on /tmp default in Debian by rleigh
Parent article: Temporary files: RAM or disk?

The problem is that there is a lot of applications use /tmp to store temporary data they expect will not fit in memory and in a lot of case this is more efficient than swapping (e.g. because they do a big contiguous write, then maybe one hour latter they do a big contiguous read).


(Log in to post comments)

tmpfs on /tmp default in Debian

Posted Jun 1, 2012 20:24 UTC (Fri) by wahern (subscriber, #37304) [Link]

Indeed. tmpfs provides a crutch for stupid applications, but makes it difficult (if not impossible, there being no standard alternative to /tmp semantics) for smart applications to manage data intelligently.

It's one thing to cater to stupid applications, its another to erect barriers to good design.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds