News for hackers. Stuff that matters.
Re:Save your disk, write files directly into RAM with /dev/shm by buckle8017 on Saturday June 28, 2025 @03:53AM (#44402971)
You have to explicitly disable swap.

Honestly had no idea that was an option because I've never seen it disabled anywhere before.

Re:Save your disk, write files directly into RAM with /dev/shm by AdieuToLogic on Sunday June 29, 2025 @09:46PM (#44418383)
> You have to explicitly disable swap.

> Honestly had no idea that was an option because I've never seen it disabled anywhere before.

Disabling swap is common with embedded systems, such as network gateways, routers, and other devices having no intrinsic mass storage devices.

Re:Save your disk, write files directly into RAM with /dev/shm by buckle8017 on Wednesday July 09, 2025 @06:47AM (#44508373)
No like there's a tmpfs mount flag to not allow swapping.