copying /dev/da0 with dd(1) to file: output differs
Matthias Apitz
guru at unixarea.de
Fri Nov 19 17:03:05 UTC 2010
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 <guru at unixarea.de> - w http://www.unixarea.de/
More information about the freebsd-usb
mailing list