mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
kpartx: add page (#2947)
This commit is contained in:
parent
c03137946c
commit
dbf4e99796
1 changed files with 15 additions and 0 deletions
15
pages/linux/kpartx.md
Normal file
15
pages/linux/kpartx.md
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# 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}}`
|
Loading…
Add table
Reference in a new issue