mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-01-14 08:15:03 -05:00
Update ventoy_lib.sh
This commit is contained in:
parent
1e4965cb24
commit
89c1ab55f1
@ -210,6 +210,7 @@ get_disk_ventoy_version() {
|
|||||||
|
|
||||||
format_ventoy_disk() {
|
format_ventoy_disk() {
|
||||||
DISK=$1
|
DISK=$1
|
||||||
|
PART1=$(get_disk_part_name $DISK 1)
|
||||||
PART2=$(get_disk_part_name $DISK 2)
|
PART2=$(get_disk_part_name $DISK 2)
|
||||||
|
|
||||||
sector_num=$(cat /sys/block/${DISK#/dev/}/size)
|
sector_num=$(cat /sys/block/${DISK#/dev/}/size)
|
||||||
|
Loading…
Reference in New Issue
Block a user