deblock(1) DG/UX 4.30 deblock(1)
NAME
deblock - change blocking size
SYNOPSIS
deblock [-i] [-o] [-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:
-i<size> Input buffer (record) size in bytes. The default
is 5120.
-o<size> Output buffer (record) size in bytes. The default
is 1024.
-f<size> 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
intermeditate 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 -f1024
SEE ALSO
dd(1)
Licensed material--property of copyright holder(s) Page 1