mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-06-06 17:41:50 -04:00
Update ventoy_lib.sh
This commit is contained in:
parent
1e4965cb24
commit
89c1ab55f1
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue