smaller box

This commit is contained in:
Tobias Powalowski 2023-01-16 07:21:26 +01:00
parent a1033a5e1d
commit f90a6ee192

View file

@ -474,7 +474,7 @@ _createmd()
: >/tmp/.raid-spare
# check for devices
# Remove all raid devices with children
_dialog --infobox "Scanning blockdevices..." 3 50
_dialog --infobox "Scanning blockdevices..." 3 40
_RAID_BLACKLIST="$(_raid_devices;_partitionable_raid_devices_partitions)"
#shellcheck disable=SC2119
_DEVS="$(for dev in $(_finddevices); do
@ -507,7 +507,7 @@ _createmd()
_dialog --menu "Select the parity layout you want to use (default is left-symmetric):" 21 50 13 ${_PARITYLEVELS} 2>"${_ANSWER}" || return 1
_PARITY=$(cat "${_ANSWER}")
fi
_dialog --infobox "Scanning blockdevices..." 3 50
_dialog --infobox "Scanning blockdevices..." 3 40
# show all devices with sizes
_dialog --cr-wrap --msgbox "DISKS:\n$(_getavaildisks)\n\nPARTITIONS:\n$(_getavailpartitions)" 0 0
# select the first device to use, no missing option available!
@ -609,7 +609,7 @@ _createpv()
while [[ "${_PVFINISH}" != "DONE" ]]; do
_activate_special_devices
: >/tmp/.pvs-create
_dialog --infobox "Scanning blockdevices..." 3 50
_dialog --infobox "Scanning blockdevices..." 3 40
# Remove all lvm devices with children
_LVM_BLACKLIST="$(for dev in $(${_LSBLK} NAME,TYPE | grep " lvm$" | cut -d' ' -f1 | sort -u); do
echo "$(${_LSBLK} NAME "${dev}")" _
@ -922,7 +922,7 @@ _createluks()
_LUKSFINISH=""
while [[ "${_LUKSFINISH}" != "DONE" ]]; do
_activate_special_devices
_dialog --infobox "Scanning blockdevices..." 3 50
_dialog --infobox "Scanning blockdevices..." 3 40
# Remove all crypt devices with children
_LUKS_BLACKLIST="$(for dev in $(${_LSBLK} NAME,TYPE | grep " crypt$" | cut -d' ' -f1 | sort -u); do
${_LSBLK} NAME "${dev}"