Skip to content

Commit

Permalink
Update ventoy_lib.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ventoy authored May 21, 2020
1 parent ac0f68f commit 1e4965c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion INSTALL/tool/ventoy_lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,14 @@ EOF

if ! [ -b $PART2 ]; then
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

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

echo "create efi fat fs ..."
Expand Down

0 comments on commit 1e4965c

Please sign in to comment.