Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Nov 2010 15:37:25 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org, Matthias Apitz <guru@unixarea.de>
Subject:   Re: copying /dev/da0 with dd(1) to file: output differs
Message-ID:  <201011191537.25867.hselasky@c2i.net>
In-Reply-To: <20101119143337.GA3023@current.Sisis.de>
References:  <20101119143337.GA3023@current.Sisis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011191537.25867.hselasky>