Linux Disable Swap

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Disabling Swap During Installation

Do not specify a swap device.

Disabling Swap After Installation

swapoff -a

This command in effect edits /etc/fstab and removes the devices marked for swap.