[colorforth] Obtaining binary block images from boot disk
- Subject: [colorforth] Obtaining binary block images from boot disk
- From: Bernd Beuster <bernd.beuster@xxxxxxxx>
- Date: Mon, 06 Aug 2001 17:34:24 +0200
The file handling for writing blocks to a FAT-formatted floppy is to
cumbersome. For Linux users I wrote a script (bcp - block copy) that
copies from the bootable floppy the needed blocks to binary images.
-------------------------------------------------------------------------------------
#! /bin/bash
# bcp: copy blocks from bootable colorForth floppy to file
#
if [ $# != 3 ]; then
echo "Usage: ${0##*/} block count filename"
exit 1
fi
dd if=/dev/fd0 bs=1024 skip=$1 count=$2 of=$3
-------------------------------------------------------------------------------------
--
Bernd
------------------------
To Unsubscribe from this list, send mail to Mdaemon@xxxxxxxxxxxxxxxxxx with:
unsubscribe ColorForth
as the first and only line within the message body
Problems - List-Admin@xxxxxxxxxxxxxxxxxx
Main ColorForth site - http://www.colorforth.com