Hacker News new | ask | show | jobs
by _0ffh 918 days ago
I have various folders mapped to RAM, like e.g. /var/tmp.

This has many uses, as you said. E.g. sometimes even just downloading a video stream to disc creates a temporary file in the destination folder for every fragment. I just d/l those into /var/tmp first and then mv the finished video to where it's supposed to live. I'm sure both my SSD and HDD are grateful! =)

1 comments

Doesn’t this make your var and temp rest on boots?
Yes, and that's 100% okay for /tmp. For /var/tmp it's a bit more complicated, but it hasn't bitten me yet.