mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
vdo: typo fix
Argh - lastmin mods...
This commit is contained in:
parent
9d7061f1a3
commit
f5781144ab
@ -533,7 +533,7 @@ convert_non_lv_() {
|
|||||||
# For systems using devicesfile add 'merged' PV into system.devices.
|
# For systems using devicesfile add 'merged' PV into system.devices.
|
||||||
# Bypassing use of --valuesonly to keep compatibility with older lvm.
|
# Bypassing use of --valuesonly to keep compatibility with older lvm.
|
||||||
local usedev=$("$LVM" lvmconfig --typeconfig full devices/use_devicesfile || true)
|
local usedev=$("$LVM" lvmconfig --typeconfig full devices/use_devicesfile || true)
|
||||||
[ "${usedev#*=" = "1" ] && dry "$LVM" lvmdevices --adddev "$DEVICE"
|
[ "${usedev#*=}" = "1" ] && dry "$LVM" lvmdevices --adddev "$DEVICE"
|
||||||
|
|
||||||
# Restore auto activation for a VG
|
# Restore auto activation for a VG
|
||||||
dry "$LVM" vgchange --setautoactivation y $VERB $FORCE "$VGNAME"
|
dry "$LVM" vgchange --setautoactivation y $VERB $FORCE "$VGNAME"
|
||||||
|
Loading…
Reference in New Issue
Block a user