deblock(1) DG/UX R4.11MU05 deblock(1)
NAME
deblock - change blocking size
SYNOPSIS
deblock [-i] [-o] [-p] [-f]
DESCRIPTION
Deblock reads from standard input and writes to standard output.
This utility is used to change the blocking factor between input and
output. An intermediate buffer stores bits of information to be sent
to output. The user selects the size of this buffer. If this
buffer is sufficiently large, limited streaming is possible on
streamer tapes.
The available options for deblock are as follows:
-isize Input buffer (record) size in bytes. The default is 5120.
-osize Output buffer (record) size in bytes. The default is 1024.
-psize Pad size in bytes. The last output record will be padded
with nulls if necessary to make its size a multiple of this
value. The default is 1 (no null padding).
-fsize The factor used to determine the intermediate buffer size.
The intermediate buffer size is determined by multiplying
the size of the input buffer by the value of -f and then
adding the size of the output buffer.
To facilitate streaming of tapes, reads with buffer size specified by
the "i" option are performed until the intermediate buffer is filled.
When the intermediate buffer fills, writes with buffer size specified
by the "o" option are performed until the intermediate buffer is
empty. The "f" option sets the intermediate buffer size.
EXAMPLE
The following command sequence reads a file, compresses it, and
writes it to a tape in cpio format. If the tape is a streaming tape,
it will stream during the time that the intermediate buffer is being
output. The output buffer size is selected for streaming of B media.
The intermediate buffer size is 540,672 (512 * 1024 + 16384).
echo foo | cpio -oB | compress | deblock -i512 -o16384 -p512 -f1024
SEE ALSO
dd(1).
Licensed material--property of copyright holder(s)