mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
fix multi bcachefs devices
This commit is contained in:
parent
4562ef82a9
commit
8fba5f61da
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ _bcfs_raid_level() {
|
||||||
0 0; then
|
0 0; then
|
||||||
while read -r i; do
|
while read -r i; do
|
||||||
_BCFS_DEVS="${_BCFS_DEVS} ${i}"
|
_BCFS_DEVS="${_BCFS_DEVS} ${i}"
|
||||||
_DEVS="${_DEVS//$(${_LSBLK} NAME,SIZE -d "${i}" 2>"${_NO_LOG}")/}"
|
_DEVS="${_DEVS//$(${_LSBLK} NAME,SIZE -d "$(echo "${i}" | rg -o "/dev/.*)")" 2>"${_NO_LOG}")/}"
|
||||||
done </tmp/.bcfs-raid-device
|
done </tmp/.bcfs-raid-device
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue