Command which does not work anymore?

2011-12-05 Thread Patrick Lamaiziere
Hello, I'm using 9.0 and the command below does not work, as far I remember that worked fine with 8.2: The goal is to copy an usb image from an OpenBSD host to an usb key on my desktop via ssh. On openbsd: # cat ucop2.img | ssh patrick@xx dd of=/dev/da0 bs=10M dd: /dev/da0: Invalid argument 0+5

Re: Command which does not work anymore?

2011-12-05 Thread Dan Nelson
In the last episode (Dec 05), Patrick Lamaiziere said: Hello, I'm using 9.0 and the command below does not work, as far I remember that worked fine with 8.2: The goal is to copy an usb image from an OpenBSD host to an usb key on my desktop via ssh. On openbsd: # cat ucop2.img | ssh

Re: Command which does not work anymore?

2011-12-05 Thread perryh
Dan Nelson dnel...@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