←back to thread

150 points shaunpud | 8 comments | | HN request time: 0.026s | source | bottom
1. gigatexal ◴[] No.45060561[source]
Why this change? Writing to it will be faster than disk but idk if am is a precious commodity I’d rather it was just a part of the disk I was writing to.
replies(1): >>45061111 #
2. rwmj ◴[] No.45061111[source]
It's a dumb idea that came from the systemd people. They've never explained properly why it's a good idea, but it's the systemd default and for some reason distros defer to that.
replies(1): >>45062068 #
3. egorfine ◴[] No.45062068[source]
Not at all. tmpfs precedes systemd for like a decade.
replies(1): >>45062111 #
4. rwmj ◴[] No.45062111{3}[source]
It only became the default on Fedora and other Linux distros following systemd because it was the default in systemd.

It was a bad idea on Solaris too, but at least back in those days the trade-off between RAM and disk storage was very different from today now we have NVME drives and such.

replies(1): >>45062225 #
5. egorfine ◴[] No.45062225{4}[source]
Oh no, tmpfs was introduced and used way before systemd.
replies(2): >>45062260 #>>45062794 #
6. rwmj ◴[] No.45062260{5}[source]
I'm well aware. I used it on Solaris.
replies(1): >>45062290 #
7. egorfine ◴[] No.45062290{6}[source]
Solaris/SunOS. Oh those were good times. Cheers, mate!
8. blueflow ◴[] No.45062794{5}[source]
Which was contested by no-one. He complained about systemd switching /tmp to tmpfs, not systemd people making or causing tmpfs in general.