Re:Save your disk, write files directly into RAM with /dev/shm
by pkulak on Thursday June 26, 2025 @10:28PM
(#44393245)
Interesting, thank you. I stand by my original point, downvotes be damned.
[ Parent
| on HN ]
Re:Save your disk, write files directly into RAM with /dev/shm
by AdieuToLogic on Thursday June 26, 2025 @10:49PM
(#44393330)
> Interesting, thank you.
Glad to help out. Here[0] is more information regarding Linux swap space as it relates to processes and the VMM subsystem.
> I stand by my original point, downvotes be damned.
:-D
Re:Save your disk, write files directly into RAM with /dev/shm
by AdieuToLogic on Friday June 27, 2025 @05:34PM
(#44400450)
I was wrong in my unconditional assertion that `tmpfs` does not use swap. It can, depending on conditions described here[0].
What I was thinking about is `ramfs`, which does not use/support swap and has other limitations not present in `tmpfs`.
Sorry for confusing the topic.
0 - https://www.kernel.org/doc/html/latest/filesystems/tmpfs.htm...