diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2019-09-16 05:58:10 -0400 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2019-10-04 17:31:55 +0200 |
commit | 667b33dd3be1068ffb92783e189cbc1b41c9ac28 (patch) | |
tree | b5916e88c9137d74085514679d972c69795533f4 /libdm/libdevmapper.h | |
parent | ebc9274be07299e1defd332685a2dff2c5b43cdf (diff) | |
download | lvm2-667b33dd3be1068ffb92783e189cbc1b41c9ac28.tar.gz |
dm: introduce DM_GET_TARGET_VERSION
Adds support for the DM_GET_TARGET_VERSION to dmsetup.
It introduces a new comman "target-version" that will accept list
of targets and print their version.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'libdm/libdevmapper.h')
-rw-r--r-- | libdm/libdevmapper.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libdm/libdevmapper.h b/libdm/libdevmapper.h index e885f52ae..81c67dcf2 100644 --- a/libdm/libdevmapper.h +++ b/libdm/libdevmapper.h @@ -121,7 +121,9 @@ enum { DM_DEVICE_SET_GEOMETRY, - DM_DEVICE_ARM_POLL + DM_DEVICE_ARM_POLL, + + DM_GET_TARGET_VERSION }; /* |