Trouble Using dd with cblock


Environment

OS Level: AIX Version 4.1.4
Type/Model: Unspecified

Problem

In a given file, 200 records are expected to be read in and out with the following command:
   dd if=[filename] of=[filename] bs=512 cbs=512 conv=unblock 
conv=sync
However, the output produces one extra record. The input file has 20 lines with 638 characters and the output file has 22 lines with 640 characters.

Solution




[ Doc Ref: 95634928522000     Publish Date: Apr. 28, 2000]