mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 20:53:34 +00:00
Update cheatsheets
This commit is contained in:
21
linux/kpartx
Normal file
21
linux/kpartx
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# kpartx
|
||||
|
||||
> Create device maps from partition tables.
|
||||
> More information: <https://manned.org/kpartx>.
|
||||
|
||||
- Add partition mappings:
|
||||
|
||||
`kpartx -a {{whole_disk.img}}`
|
||||
|
||||
- Delete partition mappings:
|
||||
|
||||
`kpartx -d {{whole_disk.img}}`
|
||||
|
||||
- List partition mappings:
|
||||
|
||||
`kpartx -l {{whole_disk.img}}`
|
||||
Reference in New Issue
Block a user