5 ms·
For several months I have a 500MB tmpfs ramdisk (which I will probably turn into a ramfs one after reading that article). I put my browser cache, several loggi
by fno 17y ago
For several months I have a 500MB tmpfs ramdisk (which I will probably turn into a ramfs one after reading that article).
I put my browser cache, several logging files and other volatile things there. Whenever I download something just to dispose it later, it goes in there. If I try something stupid with a lot files or some big ones, it goes in there.
It feels much nicer than to fragment the harddisk for such things; maybe it is just a placebo but it makes me happy. And of course access and usage of those files is blazing fast.
PS: Having Opera's temporary download directory automatically wiped away alone is worth it... :)
- deleted 17y ago[deleted]
- pibefision 17y agocan this be done using osx?
- aaronblohowiak 17y agohttp://snippets.dzone.com/posts/show/1808 http://snippets.dzone.com/posts/show/1808 http://www.google.com/search?q=ramdisk+osx http://www.google.com/search?q=ramdisk+osx
- ars 17y agoI do this too. But tmpfs (why do you want to use ramfs?) I call it /tmp-ram and I give it the same drwxrwxrwt permissions as /tmp. I use it as the default place for all downloads. Another example, I listen to streaming radio, and I rip it to disk (so I don't have to deal with buffering, and so I can skip songs). I put it in /tmp-ram, it rips from one end, and I play and then delete from the other.