TEST
566 Bytes
# create empty flash
rm -f flash.img
: > zero
./gendata 1 > one.
./gendata 2 > two.x
./gendata 3 > three.xy
./gendata 4 > four.xyz
./gendata 5 > fivefive.xyzw
./gendata 128 > 2Mfile.xyz
$ROOT/usr/sbin/writeflash -l /dev/null -k /dev/null -b /dev/null \
zero one. two.x three.xy four.xyz fivefive.xyzw 2Mfile.xyz
#$ROOT/usr/sbin/lsflash -v -v
env SIMOS_FLASH=./flash.img \
SIMOS_DIR=../../simos \
SIMOS_INIT=../../simos/TEST/init.simos \
$ROOT/usr/sbin/simos << eof
b fs
eof
rm -f flash.img zero one. two.x three.xy four.xyz fivefive.xyzw 2Mfile.xyz