mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Correct the space allocation for the baking files.
This commit is contained in:
@@ -12,7 +12,7 @@ function add_drive () {
|
|||||||
local size="$3"
|
local size="$3"
|
||||||
|
|
||||||
local filename="$4"
|
local filename="$4"
|
||||||
fallocate -l "$size"K "$filename"
|
fallocate -l "$size" "$filename"
|
||||||
mkfs.vfat "$filename" -F 32 -n "$label"
|
mkfs.vfat "$filename" -F 32 -n "$label"
|
||||||
|
|
||||||
local mountpoint=/mnt/"$name"
|
local mountpoint=/mnt/"$name"
|
||||||
|
|||||||
Reference in New Issue
Block a user