From 12ba43ccd0cac480b4da0fb8457db83b4b50b722 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 23 Aug 2021 14:02:42 +0200 Subject: vdo: rename vdoimport to lvm_import_vdo Missed bits in previous rename commits. --- scripts/Makefile.in | 4 ++-- scripts/lvm_import_vdo.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts') 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 # -# 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") ;; -- cgit v1.2.1