summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2021-06-01 07:05:17 +0200
committerHolger Paradies <retabell@gmx.de>2021-06-26 08:07:36 +0200
commitcec6a1f33dd1f3c1358ff9a33b6bf795aa43bf9f (patch)
tree4291b518621f700a0f063218c74b8e1de33aaa30 /backend
parentdd0e0285f5a5dff3deaad1ec836b6c19bfecf82c (diff)
downloadacritoxinstaller-cec6a1f33dd1f3c1358ff9a33b6bf795aa43bf9f.zip
acritoxinstaller-cec6a1f33dd1f3c1358ff9a33b6bf795aa43bf9f.tar.gz
Ignore ventoy partitions
Do not show ventoy persistent partitions in select root device.
Diffstat (limited to 'backend')
-rw-r--r--backend/modules/partitions2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/modules/partitions b/backend/modules/partitions
index 7b3d5f2..4c033c7 100644
--- a/backend/modules/partitions
+++ b/backend/modules/partitions
@@ -66,7 +66,7 @@ function list_all_partitions()
# /dev/mapper/cryptoroot
function list_dm_partitions()
{
- ls /dev/mapper/* 2>/dev/null | fmt -w1 | grep -v "/control$"
+ ls /dev/mapper/* 2>/dev/null | fmt -w1 | grep -v "/control$" -e "/ventoy$" -e "/vtoy_persistent"
}
# Synopsis: (e.g.) list_all_partitions | partitions_usage_details