Date: Mon, 5 Dec 2011 10:51:30 +0100 From: Patrick Lamaiziere <patfbsd@davenulle.org> To: FreeBSD <freebsd-questions@freebsd.org> Subject: Command which does not work anymore? Message-ID: <20111205105130.161fc78a@mr129166>
next in thread | raw e-mail | index | archive | help
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 records in 0+4 records out 81920 bytes transferred in 0.107747 secs (760299 bytes/sec) With a file that works: # cat ucop2.img | ssh patrick@xx dd of=ucop2.img bs=10M and then a dd to the key works fine. And yes /dev/da0 is writable by all: # ls -la /dev/da0* crw-rw-rw- 1 root operator 0, 132 5 déc 09:45 /dev/da0 crw-rw-rw- 1 root operator 0, 133 5 déc 09:45 /dev/da0s4 There are some kernel messages on the FreeBSD box but I think this is harmless because this is an OpenBSD partition: GEOM_PART: integrity check failed (da0s4, BSD) Any clue? Thanks, regards.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111205105130.161fc78a>