remove bcachefs multi devices in mounting mode

This commit is contained in:
Tobias Powalowski 2024-05-23 19:11:46 +02:00
parent f463c55820
commit 1b5c6829a3

View file

@ -359,7 +359,7 @@ _mountpoints() {
if [[ -z ${_DOMKFS} ]]; then if [[ -z ${_DOMKFS} ]]; then
_BCFS_UUID="$(${_LSBLK} UUID -d "${_DEV}")" _BCFS_UUID="$(${_LSBLK} UUID -d "${_DEV}")"
for i in $({_LSBLK} NAME,UUID -d "${_DEV}" | grep ${_BCFS_UUID} | cut -d ' ' -f1); do for i in $({_LSBLK} NAME,UUID -d "${_DEV}" | grep ${_BCFS_UUID} | cut -d ' ' -f1); do
_DEVS="${_DEVS//$(${_LSBLK} NAME,SIZE -d "${_DEV}" 2>"${_NO_LOG}")/}" _DEVS="${_DEVS//$(${_LSBLK} NAME,SIZE -d "${i}" 2>"${_NO_LOG}")/}"
done done
fi fi
else else