Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux mkswap command

Linux mkswap command

Linux Command Reference Linux Command Reference

The Linux mkswap command is used to set up a swap area.

mkswap can set a disk partition or file as a Linux swap area.

Syntax

mkswap [-cf][-v0][-v1][设备名称或文件][交换区大小]

Parameters:

Linux Command Reference Linux Command Reference