Tmpfs considered harmful
rwmj.wordpress.com
Tmpfs considered harmful
1–10 of 85 posts
Re: Tmpfs considered harmful
#2I guess it only takes one silly person to connect "tmp" in the name to "/tmp", and the rest is history.
Re: Tmpfs considered harmful
#3Re: Tmpfs considered harmful
#4I believe there was never such expectation of /tmp. On many systems it's being wiped periodically or even when the user's last session ends. The example app(s) that use /tmp for drafts need(s) to be fixed.
Re: Tmpfs considered harmful
#5Minor disagreement about the following: "Everyone must worry about whether their files need to survive a reboot" I believe there was never such expectation of /tmp. On many systems it's being wiped periodically or even when the user's last session ends. The example app(s) that use /tmp for drafts need(s) to be fixed.
Re: Tmpfs considered harmful
#6Minor disagreement about the following: "Everyone must worry about whether their files need to survive a reboot" I believe there was never such expectation of /tmp. On many systems it's being wiped periodically or even when the user's last session ends. The example app(s) that use /tmp for drafts need(s) to be fixed.
Re: Tmpfs considered harmful
#7If you're going to trash my /tmp with gigantic files please don't. Really
"it’s better to fix the filesystem to make it faster"
Yes, let's spend adding more complexity to the file system to work out every /tmp abuser out there. But his original point was avoiding adding complexity in the first place
So basically, he contradicts himself.
Mounting tmp as a memory backed fs is great (to which there may be better options than tmpfs), avoids (potentially) spinning up disks covered in rust for minor tasks.
Re: Tmpfs considered harmful
#8I get that the guy want's attention for this life-and-death issue, but linkbaiting is just mean :(
Re: Tmpfs considered harmful
#9Minor disagreement about the following: "Everyone must worry about whether their files need to survive a reboot" I believe there was never such expectation of /tmp. On many systems it's being wiped periodically or even when the user's last session ends. The example app(s) that use /tmp for drafts need(s) to be fixed.
The memory size issue is basically a non-issue at this point (pair of desktop 16 GB DIMMS are ~$80 and laptop isn't that much more).
Re: Tmpfs considered harmful
#10It makes sense in certain cases to use tmpfs for /tmp. However, I'm not sure this is on desktop machines, which (generally) have lower RAM than servers thrashing their /tmp directories.