From owner-freebsd-usb@FreeBSD.ORG Fri Nov 19 17:03:05 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3711106564A for ; Fri, 19 Nov 2010 17:03:05 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 6F7A58FC14 for ; Fri, 19 Nov 2010 17:03:05 +0000 (UTC) Received: from [88.217.17.230] (helo=current.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PJUMZ-0000Az-0L; Fri, 19 Nov 2010 18:03:03 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id oAJH306o003799; Fri, 19 Nov 2010 18:03:00 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id oAJH2xSe003798; Fri, 19 Nov 2010 18:02:59 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Fri, 19 Nov 2010 18:02:59 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20101119170259.GA3741@current.Sisis.de> References: <20101119143337.GA3023@current.Sisis.de> <201011191537.25867.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201011191537.25867.hselasky@c2i.net> X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.19 (2009-01-05) X-Con-Id: 51246 X-Originating-IP: 88.217.17.230 Cc: freebsd-usb@freebsd.org Subject: Re: copying /dev/da0 with dd(1) to file: output differs X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2010 17:03:05 -0000 El día Friday, November 19, 2010 a las 03:37:25PM +0100, Hans Petter Selasky escribió: > On Friday 19 November 2010 15:33:37 Matthias Apitz wrote: > > Hello, > > > > How is this possible: > > > > $ dd if=/dev/da0 of=f1 > > 7892087+0 records in > > 7892087+0 records out > > $ dd if=/dev/da0 of=f2 > > 7892087+0 records in > > 7892087+0 records out > > $ diff f1 f1 > > Files f1 and f2 differ > > > > (and no, /dev/da0s1a is not mounted). > > > > Thx > > > > matthias > > Hi, > > Can you dump the data into hex using hexdump -C and show us the difference. Note: the output of the dd(1) is around 3.8 GByte. I compared the 1st 2.000.000 lines of the hexdump: no diff; any better tool to show the 1st block which differs? > Usually you would use bs=65536 (Does that change anything)? Same result: they differ :-( matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/