copying /dev/da0 with dd(1) to file: output differs

Hans Petter Selasky hselasky at c2i.net
Fri Nov 19 14:36:34 UTC 2010


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.

Usually you would use bs=65536 (Does that change anything)?

--HPS


More information about the freebsd-usb mailing list