mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 21:02:51 +00:00
Update cheatsheets
This commit is contained in:
@@ -15,8 +15,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Check a partition for bad blocks before creating the swap area:
|
||||
|
||||
`sudo mkswap -c {{path/to/file}}`
|
||||
`sudo mkswap {{[-c|--check]}} {{path/to/file}}`
|
||||
|
||||
- Specify a label for the partition (to allow `swapon` to use the label):
|
||||
|
||||
`sudo mkswap -L {{label}} {{/dev/sda1}}`
|
||||
`sudo mkswap {{[-L|--label]}} {{label}} {{/dev/sda1}}`
|
||||
|
||||
Reference in New Issue
Block a user