Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
5291d667
Commit
5291d667
authored
Feb 13, 2022
by
longpanda
Browse files
Merge branch 'master' of
https://github.com/ventoy/Ventoy
parents
ba5978d2
7f717a7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
INSTALL/tool/VentoyWorker.sh
INSTALL/tool/VentoyWorker.sh
+6
-0
No files found.
INSTALL/tool/VentoyWorker.sh
View file @
5291d667
...
...
@@ -60,6 +60,12 @@ while [ -n "$1" ]; do
exit
1
fi
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
shift
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment