Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-16 00:20:08 +00:00
parent 367b1e4cb2
commit 07c7ca9e90
25 changed files with 227 additions and 85 deletions

View File

@@ -14,16 +14,16 @@ source: https://github.com/tldr-pages/tldr.git
- Set the type of an existing reservation to exclusive access:
`blkpr -c reserve {{[-k|--key]}} {{reservation_key}} {{[-t|--type]}} exclusive-access {{path/to/device}}`
`blkpr {{[-c|--command]}} reserve {{[-k|--key]}} {{reservation_key}} {{[-t|--type]}} exclusive-access {{path/to/device}}`
- Preempt the existing reservation with a given key and replace it with a new reservation:
`blkpr -c preempt {{[-K|--oldkey]}} {{old_key}} {{[-k|--key]}} {{new_key}} {{[-t|--type]}} write-exclusive {{path/to/device}}`
`blkpr {{[-c|--command]}} preempt {{[-K|--oldkey]}} {{old_key}} {{[-k|--key]}} {{new_key}} {{[-t|--type]}} write-exclusive {{path/to/device}}`
- Release a reservation with a given key and type on a given device:
`blkpr -c release {{[-k|--key]}} {{reservation_key}} {{[-t|--type]}} {{reservation_type}} {{path/to/device}}`
`blkpr {{[-c|--command]}} release {{[-k|--key]}} {{reservation_key}} {{[-t|--type]}} {{reservation_type}} {{path/to/device}}`
- Clear all reservations from a given device:
`blkpr -c clear {{[-k|--key]}} {{key}} {{path/to/device}}`
`blkpr {{[-c|--command]}} clear {{[-k|--key]}} {{key}} {{path/to/device}}`