help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dd in loop doesn't transfer full blocks


From: Henrik Carlqvist
Subject: Re: dd in loop doesn't transfer full blocks
Date: Wed, 08 Dec 2010 15:04:10 -0000
User-agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)

jim <gana1nm@hotmail.com> wrote:
>    while $not_finished
>       do  dd bs=$BS count=1

> The problem is that dd never transfers a full block; $BS is about
> 400000, and each time through the loop, dd only transfers about 73xxx
> bytes, and sometimes less.

Is $BS a multiple of something? If so, maybe it would help to do something
like:

do  dd bs=`echo $BS/8 | bc` count=8

regards Henrik
-- 
The address in the header is only to prevent spam. My real address is:
hc123(at)poolhem.se Examples of addresses which go to spammers:
root@localhost postmaster@localhost



reply via email to

[Prev in Thread] Current Thread [Next in Thread]