mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-14 19:01:35 +03:00
16 lines
235 B
Markdown
16 lines
235 B
Markdown
|
# kpartx
|
||
|
|
||
|
> Create device maps from partition tables.
|
||
|
|
||
|
- Add partition mappings:
|
||
|
|
||
|
`kpartx -a {{whole_disk.img}}`
|
||
|
|
||
|
- Delete partition mappings:
|
||
|
|
||
|
`kpartx -d {{whole_disk.img}}`
|
||
|
|
||
|
- List partition mappings:
|
||
|
|
||
|
`kpartx -l {{whole_disk.img}}`
|