summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-08-23 14:02:42 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2021-08-26 19:10:28 +0200
commit12ba43ccd0cac480b4da0fb8457db83b4b50b722 (patch)
treea17e6e64a93f8e36d8c7376480698e204834db96 /scripts
parent49822624e8b02bf108d79ac3ffd58a35c0c92c5e (diff)
downloadlvm2-12ba43ccd0cac480b4da0fb8457db83b4b50b722.tar.gz
vdo: rename vdoimport to lvm_import_vdo
Missed bits in previous rename commits.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.in4
-rwxr-xr-xscripts/lvm_import_vdo.sh6
2 files changed, 5 insertions, 5 deletions
diff --git a/scripts/Makefile.in b/scripts/Makefile.in
index f16c37d81..ee0acb6f6 100644
--- a/scripts/Makefile.in
+++ b/scripts/Makefile.in
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006-2015 Red Hat, Inc. All rights reserved.
+# Copyright (C) 2006-2021 Red Hat, Inc. All rights reserved.
#
# This file is part of LVM2.
#
@@ -31,7 +31,7 @@ ifeq ("@FSADM@", "yes")
LVM_SCRIPTS += fsadm.sh
endif
-ifeq ("@VDOIMPORT@", "yes")
+ifeq ("@LVMIMPORTVDO@", "yes")
LVM_SCRIPTS += lvm_import_vdo.sh
endif
diff --git a/scripts/lvm_import_vdo.sh b/scripts/lvm_import_vdo.sh
index 35140a07c..7e24b49d7 100755
--- a/scripts/lvm_import_vdo.sh
+++ b/scripts/lvm_import_vdo.sh
@@ -14,11 +14,11 @@
#
# Author: Zdenek Kabelac <zkabelac at redhat.com>
#
-# Script for converting VDO volumes to lvm2 VDO LVs
+# Script for importing VDO volumes to lvm2 managed VDO LVs
#
# Needed utilities:
# lvm, dmsetup,
-# vdo, vdo2lvm,
+# vdo,
# grep, awk, sed, blockdev, readlink, mkdir
#
# Conversion is using 'vdo convert' support from VDO manager to move
@@ -305,7 +305,7 @@ EOF
}
# Obtain free space in this new PV
- # after 'vdo convert/vdo2lvm' call there is +2M free space at the front of the device
+ # after 'vdo convert' call there is +2M free space at the front of the device
case "$DRY" in
0) pvfree=$("$LVM" pvs -o devsize --units b --nosuffix --noheadings "$DEVICE") ;;
*) pvfree=$("$BLOCKDEV" --getsize64 "$DEVICE") ;;