Re:Tofu – The opposite of a font
by Retr0spectrum on Sunday August 06, 2017 @05:07PM
(#14943530)
On most Linux distros, /tmp is a ramdisk.
[ Parent
| on HN ]
Re:Tofu – The opposite of a font
by mcpherrinm on Sunday August 06, 2017 @06:51PM
(#14944150)
I don't think this is nearly universal - certainly none of the systems I use have /tmp as tmpfs.
/dev/shm, on the other hand, is almost always guaranteed to be a tmpfs on glibc systems.
No.... some, sure. Not most.
RHEL7, and all it's derivatives (CentOS, Oracle Linux etc.) don't use tmpfs for /tmp by default, and they are arguably the most used linux distros in the world.
Re:Tofu – The opposite of a font
by JetSpiegel on Sunday August 06, 2017 @05:23PM
(#14943627)
But with only 1 GB capacity
It depends on your setup. The default when no size is given is to use half the RAM.
Re:Tofu – The opposite of a font
by colejohnson66 on Sunday August 06, 2017 @08:22PM
(#14944486)
Half? That seems kind of excessive. Are you sure that’s right?
Re:Tofu – The opposite of a font
by Sidnicious on Sunday August 06, 2017 @09:02PM
(#14944610)
I would guess that it’s given that capacity, but the memory is allocated lazily.
Re:Tofu – The opposite of a font
by yjftsjthsd-h on Monday August 07, 2017 @07:26AM
(#14946686)
Correct; tmpfs only uses as much memory as as is used by the files it contains.