prepare bcachefs raid options

This commit is contained in:
Tobias Powalowski 2024-05-21 21:38:40 +02:00
parent e7a9f20a09
commit 97393fd748

View file

@ -57,7 +57,6 @@ _bcfs_select_raid_devices () {
"${_BCFS_LEVEL}" == "raid5" ]] && _BCFS_DONE="DONE _"
[[ "$((_RAIDNUMBER + _DUR_COUNT))" -ge "$((_BCFS_REP_COUNT + 3))" &&\
"${_BCFS_LEVEL}" == "raid10" || "${_BCFS_LEVEL}" == "raid6" ]] && _BCFS_DONE="DONE _"
_bcfs_raid_options || return 1
# clean loop from used partition and options
_BCFS_DEVS=${_BCFS_DEVS//${_BCFS_DEV}\ _/}
# add more devices