mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Add logging for fallocate call
This commit is contained in:
@@ -11,6 +11,7 @@ function add_drive () {
|
||||
local size="$3"
|
||||
|
||||
local filename="$4"
|
||||
echo "Allocating ${size}K for $filename..."
|
||||
fallocate -l "$size"K "$filename"
|
||||
mkfs.vfat "$filename" -F 32 -n "$label"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user