summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2008-04-23 15:13:50 +0200
committerJim Meyering <meyering@redhat.com>2008-06-05 15:09:24 +0200
commit686234b70ff4d3e91962bb5e0a3f8785ab6bc3d9 (patch)
treedc6860aef1d1d5779bc68a04ffdac7f927f8f06d /include
parentff44d5b2392c41a67ee1f628baa1813ccbfb6981 (diff)
downloadparted-686234b70ff4d3e91962bb5e0a3f8785ab6bc3d9.tar.gz
linux device-mapper map type detection
detect the type of the device map and add it to the displayed type information
Diffstat (limited to 'include')
-rw-r--r--include/parted/device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/parted/device.h b/include/parted/device.h
index 2a9679f..64b4a0a 100644
--- a/include/parted/device.h
+++ b/include/parted/device.h
@@ -72,6 +72,9 @@ struct _PedDevice {
PedDeviceType type; /**< SCSI, IDE, etc.
\deprecated \sa PedDeviceType */
+#ifdef ENABLE_DEVICE_MAPPER
+ char* dmtype; /**< device map target type */
+#endif
long long sector_size; /**< logical sector size */
long long phys_sector_size; /**< physical sector size */
PedSector length; /**< device length (LBA) */