From c58f88cda843db507b6dcd6f04dcb99f488239db Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Wed, 25 Jan 2023 08:20:40 +0100 Subject: [PATCH] show sizes in raid menu --- usr/lib/archboot/installer/blockdevices.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/installer/blockdevices.sh b/usr/lib/archboot/installer/blockdevices.sh index 20963b941..de562c61f 100644 --- a/usr/lib/archboot/installer/blockdevices.sh +++ b/usr/lib/archboot/installer/blockdevices.sh @@ -512,7 +512,7 @@ _createmd() while [[ "${_DEV}" != "DONE" ]]; do _RAIDNUMBER=$((_RAIDNUMBER + 1)) # clean loop from used partition and options - _DEVS="$(echo "${_DEVS}" | sed -e "s#$(${_LSBLK} NAME,SIZE -d "${_DEV}"##g" -e 's#MISSING\ _##g' -e 's#SPARE\ _##g')" + _DEVS="$(echo "${_DEVS}" | sed -e "s#$(${_LSBLK} NAME,SIZE -d "${_DEV}")##g" -e 's#MISSING\ _##g' -e 's#SPARE\ _##g')" # raid0 doesn't support missing devices ! [[ "${_LEVEL}" == "raid0" || "${_LEVEL}" == "linear" ]] && _MDEXTRA="MISSING _" # add more devices