News for hackers. Stuff that matters.
Re:Debian's /tmpest in a teapot by crabbone on Wednesday June 05, 2024 @09:28AM (#40584526)
> /tmp/ is the ram-backed version for small files

Small you say? The block size in that device is the size of the memory page: 4K by default. That's 8 times the very typical 512b for persistent storage.

I've been bitten many times when trying to start in-memory only VMs with a disk image that measured smaller than available memory only to run out of memory on boot :)

Let's say it's not really for small files. It's for few files. ;)

There are no comments on this comment yet.