COPDEV - Copy device images to and from files ------ - ---- ------ ------ -- --- ---- ----- Abstract -------- Users of RT-11 version V3B and earlier cannot use DUP to copy entire volumes (device images) to files on larger volumes. This program allows that option. Operation --------- Calling COPDEV is accomplished with the RUN command. The program then requests a command string in standard CSI format, by printing an asterisk (*). The meaningful forms are as follows: (a) *out-device = in-filespec /I This produces an image copy on the output device, taken from the input file. WARNING: This wipes out all directory and boot info on the output device. The user must confirm his/her intention with a "Y" or a "y" for operations to continue. WARNING: The output and input devices are permitted to be the same, and in that case, the input file is destroyed along with any other information on that device. The operation is legal, and works because the data is written on the disk after is has been read. (b) *out-filespec = in-device This copies all blocks, starting at block 0 and continuing to the end of the inupt device, to the specified output file. There must be sufficient room available on the output device. Defaults: (a) Devices as usual, default to DK: (b) The extentions default to .DEV for both input and output. COPDEV - Copy device images to and from files PAGE 2 ------ - ---- ------ ------ -- --- ---- ----- Notes: (a) The device being copied to need only be of equal or greater capacity than the original (i.e., they don't have to be the same device). You can copy diskette images to an RK05, for example. The extra space is ignored (and wasted). (b) For magnetic tape operations, no rewind is performed, as if an implied /M:-1 (or POSITION:-1) option had been used. (c) COPDEV can be run from, and command input entered from, a command file. Example: (a) Copy a diskette to tape: .R COPDEV *MT3:MYDISK=DX1: 494 Blocks transferred . (b) Copy a diskette image on tape to an RK05: .R COPDEV *RK0:A=MT3:MYDISK/I RK0:/Copy are you sure? y 494 Blocks transferred .DIR RK0: MYPROG.FOR 4 1 Files, 4 Blocks 476 Free blocks Contact Brian A. Clark for more information. Brian A. Clark Atmospheric Environment Service 4905 Dufferin Street, NORTH YORK, Ontario M3H 5T4 COPDEV - Copy device images to and from files PAGE 3 ------ - ---- ------ ------ -- --- ---- -----