Skip to content

Instantly share code, notes, and snippets.

@tcdowney
Created June 3, 2018 03:13
Show Gist options
  • Save tcdowney/1ae6fe69cc36ae8456b4e9d84d9a10dc to your computer and use it in GitHub Desktop.
Save tcdowney/1ae6fe69cc36ae8456b4e9d84d9a10dc to your computer and use it in GitHub Desktop.
Raspbian SD Longetivity Commands
# Inspired by https://raspberrypi.stackexchange.com/questions/169/how-can-i-extend-the-life-of-my-sd-card
# Gonna see if I can get by with just disabling swap for now
# Disable SWAP
sudo dphys-swapfile swapoff && \
sudo dphys-swapfile uninstall && \
sudo update-rc.d dphys-swapfile remove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment