Re: Image copy of a floppy, how?
On Wed, 5 Jul 2000, Antonio Rodriguez wrote:
> But is not enough yet, since it is not clear how I put the contents of
> the boot floppy into "file".
>
Try to understand this here:
----------- snip ------------
#!/bin/sh
# diskcopy
echo "diskcopy - physical copy of floppy disks"
echo -n "Insert source disk and hit ENTER "
read eingabe
dd if=/dev/fd0 of=/tmp/diskcopy_tmp$$
aktiv=1
while [ $aktiv -eq 1 ]; do
echo -n "Insert destination disk and hit ENTER "
read eingabe
dd if=/tmp/diskcopy_tmp$$ of=/dev/fd0
echo -n "Ready. Another duplicate? [y/n] "
read eingabe
if [ $eingabe != "y" ]; then
aktiv=0
fi
done
rm /tmp/diskcopy_tmp$$
----------- snip ------------
Cheers, P. *8^)
--
------------ Paul Seelig <pseelig@mail.uni-mainz.de> -------------
African Music Archive - Institute for Ethnology and Africa Studies
Johannes Gutenberg-University - Forum 6 - 55099 Mainz/Germany
------------------- http://ntama.uni-mainz.de --------------------
Reply to: