2 # Create a disk image containing some (text) data.
6 echo "Fill disk of some capacity (in MB) from stdin"
7 echo "usage: image-data capacity"
11 dd if=/dev
/zero of
=data.img count
=$
(($1*2016)) # 32 * 63 sectors/track
12 dd of
=data.img conv
=notrunc