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
1e4965cb
Unverified
Commit
1e4965cb
authored
May 21, 2020
by
longpanda
Committed by
GitHub
May 21, 2020
Browse files
Update ventoy_lib.sh
parent
ac0f68f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
INSTALL/tool/ventoy_lib.sh
INSTALL/tool/ventoy_lib.sh
+7
-1
No files found.
INSTALL/tool/ventoy_lib.sh
View file @
1e4965cb
...
@@ -269,6 +269,12 @@ EOF
...
@@ -269,6 +269,12 @@ EOF
MajorMinor
=
$(
sed
"s/:/ /"
/sys/class/block/
${
PART2
#/dev/
}
/dev
)
MajorMinor
=
$(
sed
"s/:/ /"
/sys/class/block/
${
PART2
#/dev/
}
/dev
)
echo
"mknod -m 0660
$PART2
b
$MajorMinor
..."
echo
"mknod -m 0660
$PART2
b
$MajorMinor
..."
mknod
-m
0660
$PART2
b
$MajorMinor
mknod
-m
0660
$PART2
b
$MajorMinor
if
!
[
-b
$PART1
]
;
then
MajorMinor
=
$(
sed
"s/:/ /"
/sys/class/block/
${
PART1
#/dev/
}
/dev
)
echo
"mknod -m 0660
$PART1
b
$MajorMinor
..."
mknod
-m
0660
$PART1
b
$MajorMinor
fi
fi
fi
echo
"create efi fat fs ..."
echo
"create efi fat fs ..."
...
...
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