Usage: mkswap [options] device [size] Set up a Linux swap area. Options: -c, --check check bad blocks before creating the swap area -f, --force allow swap size area be larger than device -q, --quiet suppress output and warning messages -p, --pagesize SIZE specify page size in bytes -L, --label LABEL specify label -v, --swapversion NUM specify swap-space version number -U, --uuid UUID specify the uuid to use -e, --endianness= specify the endianness to use (native, little or big) -o, --offset OFFSET specify the offset in the device -s, --size SIZE specify the size of a swap file in bytes -F, --file create a swap file --verbose verbose output --lock[=] use exclusive device lock (yes, no or nonblock) -h, --help display this help -V, --version display version For more details see mkswap(8).