mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-16 12:55:44 +02:00
16 lines
312 B
Markdown
16 lines
312 B
Markdown
# kpartx
|
|
|
|
> Create device maps from partition tables.
|
|
> More information: <https://manned.org/kpartx>.
|
|
|
|
- Add partition mappings and print created mappings:
|
|
|
|
`kpartx -av {{whole_disk.img}}`
|
|
|
|
- Delete partition mappings:
|
|
|
|
`kpartx -d {{whole_disk.img}}`
|
|
|
|
- List partition mappings:
|
|
|
|
`kpartx -l {{whole_disk.img}}`
|