#! /bin/sh # Makes an NBI of the 1.44MB disk in drive /dev/fd0 dd if=/dev/fd0 of=$1.img bs=512 count=2880 mknbi-dos $1.img > $1.nbi rm $1.img