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
ac0f68f9
Unverified
Commit
ac0f68f9
authored
May 21, 2020
by
longpanda
Committed by
GitHub
May 21, 2020
Browse files
Update ventoy_lib.sh
parent
50aa5d38
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
INSTALL/tool/ventoy_lib.sh
INSTALL/tool/ventoy_lib.sh
+13
-4
No files found.
INSTALL/tool/ventoy_lib.sh
View file @
ac0f68f9
...
@@ -255,13 +255,22 @@ EOF
...
@@ -255,13 +255,22 @@ EOF
partprobe
>
/dev/null 2>&1
partprobe
>
/dev/null 2>&1
sleep
3
sleep
3
echo
'mkfs on disk partitions ...'
echo
'mkfs on disk partitions ...'
while
!
[
-e
$PART2
]
;
do
for
i
in
1 2 3 4 5 6 7
;
do
if
[
-b
$PART2
]
;
then
break
else
echo
"wait
$PART2
..."
echo
"wait
$PART2
..."
sleep
1
sleep
1
fi
done
done
if
!
[
-b
$PART2
]
;
then
MajorMinor
=
$(
sed
"s/:/ /"
/sys/class/block/
${
PART2
#/dev/
}
/dev
)
echo
"mknod -m 0660
$PART2
b
$MajorMinor
..."
mknod
-m
0660
$PART2
b
$MajorMinor
fi
echo
"create efi fat fs ..."
echo
"create efi fat fs ..."
for
i
in
0 1 2 3 4 5 6 7 8 9
;
do
for
i
in
0 1 2 3 4 5 6 7 8 9
;
do
if
mkfs.vfat
-F
16
-n
EFI
$PART2
;
then
if
mkfs.vfat
-F
16
-n
EFI
$PART2
;
then
...
...
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