Function spurs::util::swapon

source ·
pub fn swapon(device: &str) -> SshCommand
Expand description

Turn on the swap device. Requires sudo permissions. Assumes the device is already formatted as a swap device (i.e. with mkswap).