From ee1b0d19b6d97f20dc10a7fc8ec9215f82c094b8 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 10 Oct 2021 08:35:59 -0700 Subject: [PATCH] . --- tools/image-data | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/image-data b/tools/image-data index fe46e310..e73b6d7d 100755 --- a/tools/image-data +++ b/tools/image-data @@ -3,10 +3,10 @@ if [ $# -eq 0 ] then - echo "Fill disk of some capacity (in MB) from stdin" + echo "Fill disk of some capacity (in ~1 MB units) from stdin" echo "usage: image-data capacity" exit 1 fi -dd if=/dev/zero of=data.img count=$(($1*2016)) # 32 * 63 sectors/track +dd if=/dev/zero of=data.img count=$(($1*2016)) # 32 tracks * 63 sectors/track of 512-byte sectors dd of=data.img conv=notrunc