From 686234b70ff4d3e91962bb5e0a3f8785ab6bc3d9 Mon Sep 17 00:00:00 2001 From: Guido Guenther Date: Wed, 23 Apr 2008 15:13:50 +0200 Subject: linux device-mapper map type detection detect the type of the device map and add it to the displayed type information --- include/parted/device.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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) */ -- cgit v1.2.1