From: rd@phoenix.aii.com (Robert D. Thrush)
Subject: Re: 386bsd0.1
Organization: Automation Intelligence, Inc.
Distribution: comp.unix.bsd
Date: Wed, 22 Jul 1992 20:07:46 GMT

In article <1992Jul22.032121.22191@cybernet.cse.fau.edu> wzhang@cse.fau.edu (Wei Zhang) writes:
>I am new to this group. I have access to SUNSparc stations. Now I have
>ftped some binary files, eg. dist.fs, etc., how do I cpio them to floppy?
>We have a 1.4M floppy driver in our system. Beyond that, once I get the
>bootable disk, how do I get the binary into the floppy. I think that
>I would do it on the SUN system rather than kermit the executable to my 
>PC, which takes long long time. I do not want to rawrite either. Please
>any help is appreciated. I figure that these are rather simple questions.

  I created simpleminded scripts (attached) for the binary
distribution.  (I got the ethernet working before I needed to deal
with the other parts.)

  mkflops makes 10 images which wtflops parcels out the sparcs's
/dev/fd0 with a prompt between diskettes.  Moving over to the 386bsd
side,  cd to /tmp and do "cpio -icvuma </dev/rfd0a" for each of the
10 diskettes.

----- mkflops -----
#! /bin/sh

HERE=`pwd`
cd /nfs/ngc/386bsd/386bsd-0.1/Dist/bindist 

echo Doing bin.01
ls bin01.00 bin01.01 bin01.02 bin01.03 bin01.04 bin01.05 | cpio -ocv >$HERE/bin.01
echo Doing bin.02
ls bin01.06 bin01.07 bin01.08 bin01.09 bin01.10 bin01.11 | cpio -ocv >$HERE/bin.02
echo Doing bin.03
ls bin01.12 bin01.13 bin01.14 bin01.15 bin01.16 bin01.17 | cpio -ocv >$HERE/bin.03
echo Doing bin.04
ls bin01.18 bin01.19 bin01.20 bin01.21 bin01.22 bin01.23 | cpio -ocv >$HERE/bin.04
echo Doing bin.05
ls bin01.24 bin01.25 bin01.26 bin01.27 bin01.28 bin01.29 | cpio -ocv >$HERE/bin.05
echo Doing bin.06
ls bin01.30 bin01.31 bin01.32 bin01.33 bin01.34 bin01.35 | cpio -ocv >$HERE/bin.06
echo Doing bin.07
ls bin01.36 bin01.37 bin01.38 bin01.39 bin01.40 bin01.41 | cpio -ocv >$HERE/bin.07
echo Doing bin.08
ls bin01.42 bin01.43 bin01.44 bin01.45 bin01.46 bin01.47 | cpio -ocv >$HERE/bin.08
echo Doing bin.09
ls bin01.48 bin01.49 bin01.50 bin01.51 bin01.52 bin01.53 | cpio -ocv >$HERE/bin.09
echo Doing bin.10
ls bin01.54 bin01.55 bin01.56  MANIFEST | cpio -ocv >$HERE/bin.10


----- wtflops -----
#! /bin/sh

echo Doing bin.01 - Insert floppy and hit enter
read dummy ; dd if=bin.01 of=/dev/fd0 bs=18b ; eject
echo Doing bin.02 - Insert floppy and hit enter
read dummy ; dd if=bin.02 of=/dev/fd0 bs=18b ; eject
echo Doing bin.03 - Insert floppy and hit enter
read dummy ; dd if=bin.03 of=/dev/fd0 bs=18b ; eject
echo Doing bin.04 - Insert floppy and hit enter
read dummy ; dd if=bin.04 of=/dev/fd0 bs=18b ; eject
echo Doing bin.05 - Insert floppy and hit enter
read dummy ; dd if=bin.05 of=/dev/fd0 bs=18b ; eject
echo Doing bin.06 - Insert floppy and hit enter
read dummy ; dd if=bin.06 of=/dev/fd0 bs=18b ; eject
echo Doing bin.07 - Insert floppy and hit enter
read dummy ; dd if=bin.07 of=/dev/fd0 bs=18b ; eject
echo Doing bin.08 - Insert floppy and hit enter
read dummy ; dd if=bin.08 of=/dev/fd0 bs=18b ; eject
echo Doing bin.09 - Insert floppy and hit enter
read dummy ; dd if=bin.09 of=/dev/fd0 bs=18b ; eject
echo Doing bin.10 - Insert floppy and hit enter
read dummy ; dd if=bin.10 of=/dev/fd0 bs=18b ; eject
-- 
Bob Thrush rd@aii.com (407) 661-7089    Fax-(407) 661-6966
Automation Intelligence,Inc. -- 850 Trafalgar Court, Maitland, FL 32751