Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Dec 2011 02:23:57 -0800
From:      perryh@pluto.rain.com
To:        dnelson@allantgroup.com
Cc:        freebsd-questions@freebsd.org, patfbsd@davenulle.org
Subject:   Re: Command which does not work anymore?
Message-ID:  <4edded3d.1lu8b8nzIWjHRsxo%perryh@pluto.rain.com>
In-Reply-To: <20111205173845.GA53453@dan.emsphone.com>
References:  <20111205105130.161fc78a@mr129166> <20111205173845.GA53453@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Nelson <dnelson@allantgroup.com> wrote:

> dd with a bs= option tells dd to use read() syscalls with a 10mb
> size, but ssh is going to feed it data in much smaller chunks ...
> Try using a smaller blocksize (8k or 4k), or use a buffering
> program like ports/misc/team or misc/buffer just in front of your
> dd command, so that dd always sees block-sized writes from its
> stdin stream.

or specify something along the lines of "obs=126b" instead of "bs=",
so that dd will reblock the data itself.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4edded3d.1lu8b8nzIWjHRsxo%perryh>