list linear raid

This commit is contained in:
Tobias Powalowski 2023-01-15 17:59:23 +01:00
parent 278666bb01
commit b3ab42f195

View file

@ -76,7 +76,7 @@ _blockdevices_partitions() {
# list none partitionable raid md devices
_raid_devices() {
for dev in $(${_LSBLK} NAME,TYPE | grep " raid.*$" | cut -d' ' -f 1 | sort -u); do
for dev in $(${_LSBLK} NAME,TYPE | grep " raid.*$\| linear$" | cut -d' ' -f 1 | sort -u); do
# exclude checks:
# - part of lvm2 device_found
# ${_LSBLK} FSTYPE ${dev} | grep "LVM2_member"