"vscode:/vscode.git/clone" did not exist on "69e5340ccdbb858a3c2d0ed0b307a64150a3da87"
Commit 5291d667 authored by longpanda's avatar longpanda
Browse files

Merge branch 'master' of https://github.com/ventoy/Ventoy

parents ba5978d2 7f717a7f
...@@ -60,6 +60,12 @@ while [ -n "$1" ]; do ...@@ -60,6 +60,12 @@ while [ -n "$1" ]; do
exit 1 exit 1
fi fi
DISK=$1 DISK=$1
# Resolve symlinks now, will be needed to look up information about the device in
# the /sys/ filesystem, for example /sys/class/block/${DISK#/dev/}/start
# The main use case is supporting /dev/disk/by-id/ symlinks instead of raw devices
if [ -L "$DISK" ]; then
DISK=$(readlink -e -n "$DISK")
fi
fi fi
shift shift
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment