Accessing a VAX tape drive from a S

kai at uicsrd.csrd.uiuc.edu kai at uicsrd.csrd.uiuc.edu
Thu Sep 8 15:17:00 AEST 1988


>/* Written  7:58 pm  Sep  6, 1988 by chris at mimsy.UUCP in uicsrd.csrd.uiuc.edu:comp.unix.wizards */
>`dd' can indeed do the trick, but not with the options you gave.  With
>just a `bs' option and no conversions, dd defaults to copying the input
>record size to its output, so that if it reads 32, then 1024, then 12
>bytes, it writes 32, then 1024, then 12 bytes.
>	dd bs=N
>and
>	dd ibs=N obs=N
>have different meanings.

With NO options, dd just copies input to output.  If you specify "bs=20b", or
"ibs=20b obs=20b", dd reads and writes 10240 byte blocks from input to
output.  Sorry, but these two parameter settings are the same, except that
using "bs" to specify both input and output buffer sizes is more efficient,
since copying between buffers need not be done, unless you are doing ASCII to
EBCDIC conversions or some other type of data conversion.

Patrick Wolfe  (pwolfe at kai.com, kailand!pwolfe)



More information about the Comp.unix.wizards mailing list