From owner-freebsd-usb@FreeBSD.ORG Fri Nov 19 23:53:33 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 71ADA1065670 for ; Fri, 19 Nov 2010 23:53:33 +0000 (UTC) (envelope-from roam@ringlet.net) Received: from erengrad.hoster.bg (erengrad.hoster.bg [77.77.142.9]) by mx1.freebsd.org (Postfix) with ESMTP id DF55B8FC0A for ; Fri, 19 Nov 2010 23:53:32 +0000 (UTC) Received: from middenheim.hoster.bg (middenheim.hoster.bg [77.77.142.11]) by erengrad.hoster.bg (Postfix) with ESMTP id 678BCDC347 for ; Sat, 20 Nov 2010 01:22:00 +0200 (EET) Received: from straylight.ringlet.net (93-152-170-58.ddns.onlinedirect.bg [93.152.170.58]) (Authenticated sender: roam@hoster.bg) by mail.hoster.bg (Postfix) with ESMTP id 1F8615C2EB for ; Sat, 20 Nov 2010 01:21:57 +0200 (EET) Received: from roam (uid 1000) (envelope-from roam@ringlet.net) id 416009 by straylight.ringlet.net (DragonFly Mail Agent) Sat, 20 Nov 2010 01:21:57 +0200 Date: Sat, 20 Nov 2010 01:21:57 +0200 From: Peter Pentchev To: Matthias Apitz Message-ID: <20101119232157.GB4198@straylight.ringlet.net> References: <20101119143337.GA3023@current.Sisis.de> <201011191537.25867.hselasky@c2i.net> <20101119170259.GA3741@current.Sisis.de> <201011191821.09308.hselasky@c2i.net> <20101119173519.GA3933@current.Sisis.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zx4FCpZtqtKETZ7O" Content-Disposition: inline In-Reply-To: <20101119173519.GA3933@current.Sisis.de> User-Agent: Mutt/1.5.20 (2009-06-14) X-MailScanner-ID: 1F8615C2EB.E4AAB X-hoster-MailScanner: Found to be clean X-hoster-MailScanner-SpamCheck: not spam, SpamAssassin (cached, score=0.001, required 10, autolearn=disabled, UNPARSEABLE_RELAY 0.00) X-hoster-MailScanner-From: roam@ringlet.net X-hoster-MailScanner-To: freebsd-usb@freebsd.org X-Spam-Status: No 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 List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2010 23:53:33 -0000 --zx4FCpZtqtKETZ7O Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 19, 2010 at 06:35:19PM +0100, Matthias Apitz wrote: > El d=C3=ADa Friday, November 19, 2010 a las 06:21:09PM +0100, Hans Petter= Selasky escribi=C3=B3: >=20 > > > > Can you dump the data into hex using hexdump -C and show us the > > > > difference. > > >=20 > > > 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? > > >=20 > > > > Usually you would use bs=3D65536 (Does that change anything)? > > >=20 > > > Same result: they differ :-( > > >=20 > > > matthias > >=20 > > bsdiff ? >=20 > This will not work with such big files (requires 8x memory of the file): >=20 > I was thinking in a tool just reading each file block by block, > comparing the blocks and noting the 1st diff with block offset number. > (some 10 lines of C code :-)) Errrr... are you thinking of cmp(1), maybe with the -l option? :) G'luck, Peter --=20 Peter Pentchev roam@space.bg roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 When you are not looking at it, this sentence is in Spanish. --zx4FCpZtqtKETZ7O Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCAAGBQJM5waUAAoJEGUe77AlJ98TRdYQAJWkNqv6MUfbOGUPtG8wqilA AuE+GbNWIzA14wz+wMdHFLkFb6+HdM10Bxsrnnki7MyZf5IbTUeAazfiYMpcpolc BbKYp6cGvwKnxDGJSIggVQZaDVdENa9HZPvhljkc5G9gYVawYpy2KH7CAzaMr/V7 mXpXPWp5Ko58Jf0EZ7Q/CJkhBesYzoaJq2Io0ru3FZKZCIjhmCDDgu2jWaKcv+0F itjkBHpjdQeBwXVwa31y60mMwOBzjVX3eeLbJtGkvcvdVs2MfLdlKtSiHUxsT0Ok S+LNsnxH+UEUmlH2dqB8cgYLNu/FyR/cMRvcRiT6Y+hkeeNgdlA7eW3kDBzynX1L Gp8KX8jsw/J5BJy6PeccYe6OUzHZ9OaTFjQ35mLWK0NPmTpg7Nls1HPU/xdnm0h6 X0fc8vEIziWSBWjeJNrarWDKdGixulaYHLgc2oX0BLzkjRPdxYYFHhmOqKSQnEku pdUIQ1Py7xhDUniScJhz+wrNgOip8sosd5iHuC3cWsVFLNq8wEHoi2GzignZayK3 9Vy8LJVZ4IYe04lIvHZBbUx5rXlRm3QcgSKUNFWqTV0Oq71LVdjWsNnF6ToG1S9U QAnjsdyXZFXPcR5W4H7hup0gkOTk1qDVGqQA2uWMhq0XvdDk0r2cI1whaB+j3/7X 72siOu4wTdU2ktD6JXl6 =izP8 -----END PGP SIGNATURE----- --zx4FCpZtqtKETZ7O--