From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 09:52:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F6F1106564A for ; Mon, 5 Dec 2011 09:52:15 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [94.23.254.147]) by mx1.freebsd.org (Postfix) with ESMTP id 33F498FC12 for ; Mon, 5 Dec 2011 09:52:15 +0000 (UTC) Received: from baby-jane.lamaiziere.net (mr129166.cri.univ-rennes1.fr [129.20.129.166]) by smtp.lamaiziere.net (Postfix) with ESMTPA id 44760FAA31A5 for ; Mon, 5 Dec 2011 10:52:14 +0100 (CET) Received: from mr129166 (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id 284A073A0F for ; Mon, 5 Dec 2011 10:51:31 +0100 (CET) Date: Mon, 5 Dec 2011 10:51:30 +0100 From: Patrick Lamaiziere To: FreeBSD Message-ID: <20111205105130.161fc78a@mr129166> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Command which does not work anymore? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 09:52:15 -0000 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.