show sizes in raid menu

This commit is contained in:
Tobias Powalowski 2023-01-25 08:14:55 +01:00
parent d02026e549
commit 25bce7f04e

View file

@ -474,7 +474,7 @@ _createmd()
_RAID_BLACKLIST="$(_raid_devices;_partitionable_raid_devices_partitions)" _RAID_BLACKLIST="$(_raid_devices;_partitionable_raid_devices_partitions)"
#shellcheck disable=SC2119 #shellcheck disable=SC2119
_DEVS="$(for dev in $(_getavailpartitions); do _DEVS="$(for dev in $(_getavailpartitions); do
echo "${_RAID_BLACKLIST}" | grep -qw "${dev}" || echo "${dev}" _ echo "${_RAID_BLACKLIST}" | grep -qw "${dev}" || echo "${dev}"
done)" done)"
# break if all devices are in use # break if all devices are in use
if [[ -z "${_DEVS}" ]]; then if [[ -z "${_DEVS}" ]]; then