Compressing to a Tape Drive
Gene H. Olson
gene at zeno.mn.org
Sat Mar 9 18:22:46 AEST 1991
itkin at mrspoc.Transact.COM (Steven M. List) writes:
>tar and cpio used fixed size blocks. dd by default writes a partial block
>if the last block is not fully sized. In this case it sometimes helps to
>use the "conv=sync" option to dd. This forces ALL blocks to be the same
>size and will force the last block out to full size.
Be careful using conv=sync when dd is fed by a pipe. If for any
reason it reads a partial block from the pipe (and there are lots
of ways that can happen) it will pad out that block to full size.
If that happens in the middle of your archive, you are screwed,
and you may not discover it until you really need that archive.
Ideally, your data compression program should do the padding for
you. The "compact" program I posted to the net some time ago does
that automatically.
_________________________________________________________________________
__
/ ) Gene H. Olson gene at zeno.mn.org
/ __ _ __ _
(__/ _(/_//_(/_ gene at digibd.com
More information about the Comp.unix.xenix.sco
mailing list