Update cheatsheets

This commit is contained in:
ivuorinen
2025-05-16 00:20:13 +00:00
parent 704fdbe29d
commit c0c75c948e

View File

@@ -19,4 +19,12 @@ source: https://github.com/tldr-pages/tldr.git
- Specify a label for the partition (to allow `swapon` to use the label):
`sudo mkswap {{[-L|--label]}} {{label}} {{/dev/sda1}}`
`sudo mkswap {{[-L|--label]}} {{label}} {{/dev/sdXY}}`
- Use the specified UUID:
`sudo mkswap {{[-U|--uuid]}} {{clear|random|time|UUID_value}}`
- Set up a swap file (for btrfs, see `tldr btrfs filesystem` instead):
`sudo mkswap {{[-s|--size]}} {{file_size}} {{[-F|--file]}} {{path/to/swapfile}}`