From dbf4e997968223ac4772c0634aa044cac0648685 Mon Sep 17 00:00:00 2001 From: sedrubal Date: Wed, 1 May 2019 17:29:08 +0200 Subject: [PATCH] kpartx: add page (#2947) --- pages/linux/kpartx.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/linux/kpartx.md diff --git a/pages/linux/kpartx.md b/pages/linux/kpartx.md new file mode 100644 index 0000000000..141a32c677 --- /dev/null +++ b/pages/linux/kpartx.md @@ -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}}`