Hi!

On Sun, May 03, 2009 at 09:58:22PM +0000, Stuart Henderson wrote:
>On 2009-05-03, David <dunnoseriou...@gmail.com> wrote:
>> Le dimanche 03 mai 2009 C  00:52 -0400, Daniel Ouellet a C)crit :

>> [...]
>>> Then I did the image of the drive from the external broken one to the 
>>> new clean internal one.

>>> dd if=/dev/rsd1c of=/dev/rwd0c bs=1m

>>> And let that go. Took for ever and I had no clue of progress.

>> You can use Pipe Viewer (sysutils/pv) to get progress information.

>it's slower that way. reading from disk and outputting to /dev/null:

>- inside one dd process (dd if=foo of=bar)
>    0m32.33s real     0m0.24s user     0m9.42s system

>- dd if=foo | dd of=bar
>    0m39.27s real     0m0.55s user     0m14.96s system

>- dd if=foo | pv | dd of=bar
>    0m54.14s real     0m1.86s user     0m23.98s system

Missed the original post.

What about using stty status ^t before calling dd (e.g. the first
variant) and hitting ^t every time you're interested in the status of
the transfer?

Kind regards,

Hannah.

Reply via email to