Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-29 00:18:23 +00:00
parent a3692d638b
commit 75f807d6af
175 changed files with 1107 additions and 775 deletions

View File

@@ -10,12 +10,12 @@ source: https://github.com/tldr-pages/tldr.git
- List the partitions on a block device or disk image:
`sudo partx --list {{path/to/device_or_disk_image}}`
`sudo partx {{[-l|--list]}} {{path/to/device_or_disk_image}}`
- Add all the partitions found in a given block device to the kernel:
`sudo partx --add --verbose {{path/to/device_or_disk_image}}`
`sudo partx {{[-a|--add]}} {{[-v|--verbose]}} {{path/to/device_or_disk_image}}`
- Delete all the partitions found from the kernel (does not alter partitions on disk):
`sudo partx --delete {{path/to/device_or_disk_image}}`
`sudo partx {{[-d|--delete]}} {{path/to/device_or_disk_image}}`