KPARTX(8) | System Manager's Manual | KPARTX(8) |
kpartx - Create device maps from partition tables.
kpartx [-a|-d|-u|-l] [-r] [-p] [-f] [-g] [-s|-n] [-v] wholedisk
This tool, derived from util-linux' partx, reads partition tables on specified device and create device maps over partitions segments detected. It is called from hotplug upon device maps creation and deletion.
To mount all the partitions in a raw disk image:
This will output lines such as:
The loop1p1 is the name of a device file under /dev/mapper which you can use to access the partition, for example to fsck it:
When you're done, you need to remove the devices:
multipath(8) multipathd(8) hotplug(8)
This man page was assembled By Patrick Caulfield for the Debian project.
multipath-tools was developed by Christophe Varoqui <christophe.varoqui@opensvc.com> and others.
2019-04-27 | Linux |