summaryrefslogtreecommitdiffstats
path: root/client/engine/Disk.lib
diff options
context:
space:
mode:
Diffstat (limited to 'client/engine/Disk.lib')
-rwxr-xr-xclient/engine/Disk.lib2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/engine/Disk.lib b/client/engine/Disk.lib
index 0b1a4c20..972da3da 100755
--- a/client/engine/Disk.lib
+++ b/client/engine/Disk.lib
@@ -408,6 +408,8 @@ fi
DEV="$1"
case "$DEV" in
LABEL=*) DEV=$(blkid -L "${1#*=}") ;;
+ PARTLABEL=*) DEV=$(realpath "/dev/disk/by-partlabel/${1#*=}" 2>/dev/null) ;;
+ PARTUUID=*) DEV=$(realpath "/dev/disk/by-partuuid/${1#*=}" 2>/dev/null) ;;
UUID=*) DEV=$(blkid -U "${1#*=}") ;;
esac