Date: Fri, 19 Nov 2010 18:35:19 +0100 From: Matthias Apitz <guru@unixarea.de> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: copying /dev/da0 with dd(1) to file: output differs Message-ID: <20101119173519.GA3933@current.Sisis.de> In-Reply-To: <201011191821.09308.hselasky@c2i.net> References: <20101119143337.GA3023@current.Sisis.de> <201011191537.25867.hselasky@c2i.net> <20101119170259.GA3741@current.Sisis.de> <201011191821.09308.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
El día Friday, November 19, 2010 a las 06:21:09PM +0100, Hans Petter Selasky escribió: > > > 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 > > bsdiff ? This will not work with such big files (requires 8x memory of the file): 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 :-)) matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e <guru@unixarea.de> - w http://www.unixarea.de/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101119173519.GA3933>