mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
don't show raid in blockdevices_partitions
This commit is contained in:
parent
4e84bfff8e
commit
8a9b1e5623
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ blockdevices_partitions() {
|
||||||
# all available block devices partitions
|
# all available block devices partitions
|
||||||
# printk off needed cause of parted usage
|
# printk off needed cause of parted usage
|
||||||
printk off
|
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:
|
# exclude checks:
|
||||||
#- part of raid device
|
#- part of raid device
|
||||||
# ${_LSBLK} FSTYPE ${part} | grep "linux_raid_member"
|
# ${_LSBLK} FSTYPE ${part} | grep "linux_raid_member"
|
||||||
|
|
Loading…
Reference in a new issue