Re: Moving /tmp to tmpfs makes it useless
On Fri, May 25, 2012 at 12:41:44PM +0600, Andrey Rahmatullin wrote:
> On Fri, May 25, 2012 at 02:22:24AM +0300, Serge wrote:
> > What's a temporary file? Really, why would applications temporarily store
> > its data in a file? They do that to *free some memory*. Placing those files
> > back to memory renders the whole process of writing the file useless.
> > If the files are small and can stay in memory why would application save it
> > to file?
> What if a file is large but still can fit into the memory, but app authors
> didn't assume that's possible?
Said app authors need to learn about swap.