Date: Sat, 20 Nov 2010 01:21:57 +0200 From: Peter Pentchev <roam@ringlet.net> To: Matthias Apitz <guru@unixarea.de> Cc: freebsd-usb@freebsd.org Subject: Re: copying /dev/da0 with dd(1) to file: output differs Message-ID: <20101119232157.GB4198@straylight.ringlet.net> In-Reply-To: <20101119173519.GA3933@current.Sisis.de> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101119232157.GB4198>