This commit is contained in:
Tobias Powalowski 2023-01-25 10:57:29 +01:00
parent a29d5859d5
commit 4253cf6147

View file

@ -447,7 +447,7 @@ _createmd()
: >/tmp/.raid-spare : >/tmp/.raid-spare
# check for devices # check for devices
# Remove all raid devices with children # Remove all raid devices with children
_dialog --infobox "Scanning blockdevices... This may need some time." 3 50 _dialog --infobox "Scanning blockdevices... This may need some time." 3 60
_RAID_BLACKLIST="$(_raid_devices;_partitionable_raid_devices_partitions)" _RAID_BLACKLIST="$(_raid_devices;_partitionable_raid_devices_partitions)"
#shellcheck disable=SC2119 #shellcheck disable=SC2119
_DEVS="$(_finddevices)" _DEVS="$(_finddevices)"
@ -581,7 +581,7 @@ _createpv()
while [[ "${_PVFINISH}" != "DONE" ]]; do while [[ "${_PVFINISH}" != "DONE" ]]; do
_activate_special_devices _activate_special_devices
: >/tmp/.pvs-create : >/tmp/.pvs-create
_dialog --infobox "Scanning blockdevices... This may need some time." 3 50 _dialog --infobox "Scanning blockdevices... This may need some time." 3 60
# Remove all lvm devices with children # Remove all lvm devices with children
_LVM_BLACKLIST="$(for dev in $(${_LSBLK} NAME,TYPE | grep " lvm$" | cut -d' ' -f1 | sort -u); do _LVM_BLACKLIST="$(for dev in $(${_LSBLK} NAME,TYPE | grep " lvm$" | cut -d' ' -f1 | sort -u); do
echo "${dev}" echo "${dev}"
@ -865,7 +865,7 @@ _createluks()
_LUKSFINISH="" _LUKSFINISH=""
while [[ "${_LUKSFINISH}" != "DONE" ]]; do while [[ "${_LUKSFINISH}" != "DONE" ]]; do
_activate_special_devices _activate_special_devices
_dialog --infobox "Scanning blockdevices... This may need some time." 3 50 _dialog --infobox "Scanning blockdevices... This may need some time." 3 60
# Remove all crypt devices with children # Remove all crypt devices with children
_LUKS_BLACKLIST="$(for dev in $(${_LSBLK} NAME,TYPE | grep " crypt$" | cut -d' ' -f1 | sort -u); do _LUKS_BLACKLIST="$(for dev in $(${_LSBLK} NAME,TYPE | grep " crypt$" | cut -d' ' -f1 | sort -u); do
echo "${dev}" echo "${dev}"