Correct the space allocation for the baking files.

This commit is contained in:
cimryan
2018-10-14 20:15:46 -07:00
parent 9c3daa3d91
commit c0cab4d624

View File

@@ -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"