Duplicating a diskette
You can copy the contents of a source diskette to
a destination diskette using the
You can choose either a character or block device,
but the same device must be used for the entire procedure.
If you have only a single diskette drive, copy the data on the source diskette
to a temporary file on the hard disk in the temporary file space area.
dd if=special_file of=/tmp/foo bs=36b
where special_file is the path to a diskette device
(such as /dev/rdsk/f0t).
Then replace the source diskette with a formatted destination diskette,
and copy the temporary file to the destination diskette.
dd if=/tmp/foo of=special_file bs=36b
While you can use any filesystem for temporary file space,
it is recommended that you use space in either /tmp
or /var/tmp since files in these two directories are automatically
deleted during the transition to system state 2 (multi-user state).
Make sure there is enough room in the filesystem to hold
the diskette image.
With multiple diskette drives, the source data can be copied directly to
the destination disk (both diskettes must have the same density, 1.44 MB,
1.2 MB, etc.).
dd if=special_file_1 of=special_file_2 bs=36b
dd if=/dev/rdsk/f0t of=/dev/rdsk/f1t bs=36b
Verifying data integrity on diskettes
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004