mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove bcachefs multi devices in mounting mode
This commit is contained in:
parent
2ef6881f28
commit
7fc8b56f94
1 changed files with 2 additions and 2 deletions
|
@ -356,9 +356,9 @@ _mountpoints() {
|
|||
elif [[ "${_FSTYPE}" == "bcachefs" ]]; then
|
||||
echo "${_DEV}|${_FSTYPE}|${_MP}|${_DOMKFS}|${_LABEL_NAME}|${_FS_OPTIONS}|${_BCFS_DEVS}|${_BCFS_COMPRESS}" >>/tmp/.parts
|
||||
# remove parts of multi devices
|
||||
if [[ -z "${_CREATE_MOUNTPOINTS}" ]]; then
|
||||
if [[ -n "${_SKIP_FILESYSTEM}" ]]; then
|
||||
_BCFS_UUID="$(${_LSBLK} UUID -d "${_DEV}")"
|
||||
for i in $({_LSBLK} NAME,UUID | grep ${_BCFS_UUID} | cut -d ' ' -f1); do
|
||||
for i in $(${_LSBLK} NAME,UUID | grep ${_BCFS_UUID} | cut -d ' ' -f 1); do
|
||||
_DEVS="${_DEVS//$(${_LSBLK} NAME,SIZE -d "${i}" 2>"${_NO_LOG}")/}"
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue