Forrest logo
back to context overview

mkswap

List of commands for mkswap:

  • mkswap:tldr:3f73c mkswap: Check a partition for bad blocks before creating the swap area.
    $ sudo mkswap -c ${-dev-sdb7}
    try on your machine
    explain this command
  • mkswap:tldr:45dc6 mkswap: Setup a given partition as swap area.
    $ sudo mkswap ${-dev-sdb7}
    try on your machine
    explain this command
  • mkswap:tldr:7b68d mkswap: Specify a label for the file (to allow `swapon` to use the label).
    $ sudo mkswap -L ${swap1} ${filename}
    try on your machine
    explain this command
back to context overview