mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-10 12:46:50 +00:00
Update cheatsheets
This commit is contained in:
@@ -16,7 +16,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Use a keyfile instead of a passphrase:
|
||||
|
||||
`cryptsetup open --key-file {{path/to/file}} {{/dev/sdXY}} {{mapping_name}}`
|
||||
`cryptsetup open {{[-k|--key-file]}} {{path/to/file}} {{/dev/sdXY}} {{mapping_name}}`
|
||||
|
||||
- Allow the use of TRIM on the device:
|
||||
|
||||
@@ -28,4 +28,4 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Open a LUKS volume and make the decrypted mapping read-only:
|
||||
|
||||
`cryptsetup open --readonly {{/dev/sdXY}} {{mapping_name}}`
|
||||
`cryptsetup open {{[-r|--readonly]}} {{/dev/sdXY}} {{mapping_name}}`
|
||||
|
||||
Reference in New Issue
Block a user