summaryrefslogtreecommitdiff
path: root/backend/modules/hdmap
diff options
context:
space:
mode:
Diffstat (limited to 'backend/modules/hdmap')
-rw-r--r--backend/modules/hdmap2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/modules/hdmap b/backend/modules/hdmap
index ef669a3..b108153 100644
--- a/backend/modules/hdmap
+++ b/backend/modules/hdmap
@@ -345,7 +345,7 @@ function fill_hdmap()
(
echo "$cfg_hdmap"
root_disk="$(get_disk "$(hdmap_get device of mountpoint /)")"
- for part in $(list_all_partitions)
+ for part in $(list_partitions -usage filesystem)
do
if is_removeable "$part" && [ "$(get_disk "$part")" != "$root_disk" ]; then
echo "$part:::"