From 8a9b1e56239ac881c88790203b411d23556f231f Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Thu, 27 Jan 2022 09:45:16 +0100 Subject: [PATCH] don't show raid in blockdevices_partitions --- usr/bin/archboot-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/bin/archboot-setup.sh b/usr/bin/archboot-setup.sh index 03a754603..dbbe3eb16 100755 --- a/usr/bin/archboot-setup.sh +++ b/usr/bin/archboot-setup.sh @@ -248,7 +248,7 @@ blockdevices_partitions() { # all available block devices partitions # printk off needed cause of parted usage printk off - for part in $(${_LSBLK} NAME,TYPE | grep "part$"| cut -d' ' -f1); do + for part in $(${_LSBLK} NAME,TYPE | grep -v '^md' | grep "part$"| cut -d' ' -f1); do # exclude checks: #- part of raid device # ${_LSBLK} FSTYPE ${part} | grep "linux_raid_member"