Using a USB Drive for a swap file on a RaspberryPi Zero 2

Here are all the commands required condensed into a single script (thanks Copilot): This is for a 1GB swap file (double the ram on the pi). However, you can increase it as much as you’d like on line #14. Just be aware that the benefits drop off pretty quickly beyond this point. Note that I’m … Continue reading "Using a USB Drive for a swap file on a RaspberryPi Zero 2"