I trying move swap file to USB flash from SD card it work fine but after rebooting swap file falls off, command free -m show swap is 0
I move swap file to USB flash
- dphys-swapfile swapoff
- dphys-swapfile uninstall
- edit file /etc/dphys-swapfile set variable CONF_SWAPFILE=/media/usb/swap.file
- dphys-swapfile setup
- dphys-swapfile swapon
in fstab mount USB flash UUID=uuid /media/usb ext4 nofail defaults, 0 0
but after reboot swap file falls