mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
prepare bcachefs raid options
This commit is contained in:
parent
e7a9f20a09
commit
97393fd748
1 changed files with 0 additions and 1 deletions
|
@ -57,7 +57,6 @@ _bcfs_select_raid_devices () {
|
||||||
"${_BCFS_LEVEL}" == "raid5" ]] && _BCFS_DONE="DONE _"
|
"${_BCFS_LEVEL}" == "raid5" ]] && _BCFS_DONE="DONE _"
|
||||||
[[ "$((_RAIDNUMBER + _DUR_COUNT))" -ge "$((_BCFS_REP_COUNT + 3))" &&\
|
[[ "$((_RAIDNUMBER + _DUR_COUNT))" -ge "$((_BCFS_REP_COUNT + 3))" &&\
|
||||||
"${_BCFS_LEVEL}" == "raid10" || "${_BCFS_LEVEL}" == "raid6" ]] && _BCFS_DONE="DONE _"
|
"${_BCFS_LEVEL}" == "raid10" || "${_BCFS_LEVEL}" == "raid6" ]] && _BCFS_DONE="DONE _"
|
||||||
_bcfs_raid_options || return 1
|
|
||||||
# clean loop from used partition and options
|
# clean loop from used partition and options
|
||||||
_BCFS_DEVS=${_BCFS_DEVS//${_BCFS_DEV}\ _/}
|
_BCFS_DEVS=${_BCFS_DEVS//${_BCFS_DEV}\ _/}
|
||||||
# add more devices
|
# add more devices
|
||||||
|
|
Loading…
Reference in a new issue