about summary refs log tree commit diff stats
path: root/tools/image-data
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-10-10 08:35:59 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-10-10 08:35:59 -0700
commitee1b0d19b6d97f20dc10a7fc8ec9215f82c094b8 (patch)
treed0a86526eee2b0ff5dac1f6037c26ce018fd5dcc /tools/image-data
parent1fca8ee13c73790380fa2554c68ebf60c86e95d9 (diff)
downloadmu-ee1b0d19b6d97f20dc10a7fc8ec9215f82c094b8.tar.gz
.
Diffstat (limited to 'tools/image-data')
-rwxr-xr-xtools/image-data4
1 files 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