From a0383c4b759cf40d060cbafedbf33f326b084abd Mon Sep 17 00:00:00 2001 From: axtlos Date: Wed, 20 Apr 2022 15:51:09 +0200 Subject: [PATCH] hide loop and sr devices from disk selection --- scripts/getPartitions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/getPartitions.sh b/scripts/getPartitions.sh index 5012e27..3497363 100755 --- a/scripts/getPartitions.sh +++ b/scripts/getPartitions.sh @@ -1,2 +1,2 @@ #!/usr/bin/bash -lsblk -pdo name | grep -v zram | grep -v NAME +lsblk -pdo name | grep -v zram | grep -v NAME | grep -v loop | grep -v sr