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
7fc8b56f94
commit
0f0a2c7704
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ _mountpoints() {
|
||||||
elif [[ "${_FSTYPE}" == "bcachefs" ]]; then
|
elif [[ "${_FSTYPE}" == "bcachefs" ]]; then
|
||||||
echo "${_DEV}|${_FSTYPE}|${_MP}|${_DOMKFS}|${_LABEL_NAME}|${_FS_OPTIONS}|${_BCFS_DEVS}|${_BCFS_COMPRESS}" >>/tmp/.parts
|
echo "${_DEV}|${_FSTYPE}|${_MP}|${_DOMKFS}|${_LABEL_NAME}|${_FS_OPTIONS}|${_BCFS_DEVS}|${_BCFS_COMPRESS}" >>/tmp/.parts
|
||||||
# remove parts of multi devices
|
# remove parts of multi devices
|
||||||
if [[ -n "${_SKIP_FILESYSTEM}" ]]; then
|
if [[ -z "${_CREATE_MOUNTPOINTS}" ]]; then
|
||||||
_BCFS_UUID="$(${_LSBLK} UUID -d "${_DEV}")"
|
_BCFS_UUID="$(${_LSBLK} UUID -d "${_DEV}")"
|
||||||
for i in $(${_LSBLK} NAME,UUID | grep ${_BCFS_UUID} | cut -d ' ' -f 1); 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}")/}"
|
_DEVS="${_DEVS//$(${_LSBLK} NAME,SIZE -d "${i}" 2>"${_NO_LOG}")/}"
|
||||||
|
|
Loading…
Reference in a new issue