From: karrer@bernina.ethz.ch (Andreas Karrer)
Subject: Re: Getting dd to pad the *last* output block
Date: 10 Aug 1994 13:32:14 GMT [thread overview]
Message-ID: <32aksu$s80@elna.ethz.ch> (raw)
In-Reply-To: Cu9x20.33G@adasoft.ch
jw@adasoft.ch (Jamie Watson) writes:
>Does anyone know how to get the Ultrix "dd" to pad the last output block
>to whatever the specified block size is, when reading from stdin? I know
>this sounds like a strange problem, and probably sounds more like user
>error than anything else, but I have been fighting with this for a very
>long time (several years, in fact), and I still can't get it to do what
>I want. The kind of command line I am talking about is this:
> compress < xc-1.tar | dd obs=10k conv=sync of=/dev/nrmt1l
use "buffer -B" instead of dd.
version 1.17 is on ftp.ethz.ch:pub/src, i'm not sure if Lee McLoughlin of
Imperial College has published a newer version. If you have to deal
with devices like a TK-50, buffer is a win anyway.
should work on any machine that supporst sysv shared memory and
semaphores; it certainly works on ultrix/sunos/solaris; not sure about
DEC-OSF/1.
+-----------
Andi Karrer, Institute for Electronics, ETH Zuerich, Switzerland
karrer@bernina.ethz.ch
- CH stands for Calvin & Hobbs, the most influential Swiss religion
<2n04i5$44j@hebron.connected.com>
prev parent reply other threads:[~1994-08-10 13:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-08-09 15:15 Getting dd to pad the *last* output block Jamie Watson
1994-08-10 0:53 ` dan
1994-08-10 13:32 ` Andreas Karrer [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox