auto-add-swap(8)

SYNOPSIS

auto-add-swap path-to-swapfile size (mibibytes)

ARGUMENTS
path-to-swapfile    Full pathname of the new swap file
size                Size of swap file in mibibytes

DESCRIPTION
The auto-add-swap script creates a swap file, activates it, and configures the system to automatically activate it at boot time. The new swap file serves as additional swap space if a swap partition is already present.

RETURN VALUES
0 on success, non-zero on failure

EXAMPLES
auto-add-swap /swapfile 4096

FILES
/etc/fstab (FreeBSD)

SEE ALSO
swapon(8), mdconfig(4)