Verifying data integrity on diskettes
You can use the
command to verify how much data is on a diskette, and whether there
are bad blocks.
In this example, 2880 full and 0 partial records were copied in and out.
The number of blocks reported by the dd
command depends on the size of the data blocks used on the diskette.
If the dd command stops in the middle of a copy,
a bad block has been found.
To find the number of whole and partial data blocks
(input and output) on /dev/rdsk/f0t (a full path is required),
copy the data on /dev/rdsk/f0t
to /dev/null as follows:
dd if=/dev/rdsk/f0t of=/dev/null
When it has finished executing,
reports the number of whole and partial data blocks
copied in and out, as follows:
2880+0 records in
2880+0 records out
Displaying information on a diskette
Duplicating a diskette
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004