Hacker News new | ask | show | jobs
by fno 6199 days 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... :)

2 comments

I 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.

can this be done using osx?