Appendix C. Making a Router Load File from Multiple Disks

If a software load arrives on multiple disks, use the procedure in the following sections to combine the loads into one load ®le that the router can use at the time of booting.

The ®rst disk contains the following four ®les that you need if you want to fragment an existing load for transport on multiple diskettes.

cutup.c

(UNIX C source ®le that can be compiled using a standard C compiler)

cutup.exe

(DOS)

Use the following ®les for reassembling the load fragments onto a DOS or UNIX server.

kopy.bat

(DOS)

kopy (UNIX shell script)

Assembling a Load File Under DOS

To assemble a load from the two diskettes, use the DOS batch ®le provided on diskette 1 (KOPY.BAT) using the following syntax:

kopy <installation_drive><destination_directory>

Before assembling the load make sure that you have created a destination directory, and that you have inserted the ®rst diskette in the drive speci®ed by the installation_diskette_drive parameter. The following example illustrates this procedure.

B:\>kopy b: c:\source\cutup\tmp

B:\>copy c:\gw0/B c:\source\cutup\tmp\gw.tmp 1 file(s) copied

.

Please mount the second diskette Press any key to continue . . .

Copying the second load file fragment B:\>

B:\>copy c:\source\cutup\tmp\gw.tmp/B + b:\gw1 c:\source\cutup\tmp\gw.tmp c:\SOURCE\CUTUP\TMP\GW.TMP B:\GW1

1 file(s) copied

B:\>rename c:\source\cutup\tmp\gw.tmp gw.ldc

Load file reassembly was successful

B:>

Assembling a Load File Under UNIX

To assemble a load from two UNIX diskettes, you can use the UNIX Bourne shell script (kopy) provided on diskette 1 using the following syntax:

kopy<installation_drive><diskette_directory><destination_directory

Before assembling the load make sure that you have created the mount and destination directories, and that you have inserted the ®rst diskette in the drive speci®ed by the installation_diskette_drive parameter. The following example illustrates this procedure.

© Copyright IBM Corp. 1994, 1998

677

Page 713
Image 713
IBM SC30-3681-08 manual Appendix C. Making a Router Load File from Multiple Disks, Assembling a Load File Under DOS, 677