KPARTX - Online Linux Manual PageSection : 8
Updated : 2019-04-27
Source : Linux

NAME kpartx − Create device maps from partition tables.

SYNOPSIS kpartx [−a|−d|−u|−l] [−r] [−p] [−f] [−g] [−s|−n] [−v] wholedisk

DESCRIPTION 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.

OPTIONS −a  Add partition mappings. −d  Delete partition mappings. −u  Update partition mappings. −l  List partition mappings that would be added −a. −r  Read-only partition mappings. −p  Set device name-partition number delimiter. −f  Force creation of mappings; overrides 'no_partitions' feature. −g  Force GUID partition table (GPT). −s  Sync mode (Default). Don't return until the partitions are created. −n  Nosync mode. Return before the partitions are created. −v  Operate verbosely.

EXAMPLE To mount all the partitions in a raw disk image: kpartx −av disk.img This will output lines such as: add map loop1p1 (254:4): 0 409597 linear 7:1 3 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: fsck /dev/mapper/loop1p1 When you're done, you need to remove the devices: kpartx −d disk.img

SEE ALSO multipath(8) multipathd(8) hotplug(8)

AUTHORS 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.
0
Johanes Gumabo
Data Size   :   9,075 byte
man-kpartx.8Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 169,231
Visitor ID   :     :  
Visitor IP   :   3.137.189.236   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.