swapon
Enable swapping on a given device/file. toybox
On Linux
Linux
swapon [-d] [-p priority] filename
-dDiscard freed SSD pages-pPriority (highest priority areas allocated first)Linux
Enable devices and files for swapping. Note: path/to/file can either point to a regular file or a swap partition.
Show swap information
swaponIdentifyEnable a given swap area
sudo swapon path/to/fileIdentifyEnable all swap areas specified in /etc/fstab except those with the noauto option
sudo swapon --allIdentifyEnable a swap partition by its label
sudo swapon -L labelIdentify