Re: [opensuse] help with DD

On Thursday 27 September 2007 20:44, Felix Miata wrote:
On 2007/09/27 20:22 (GMT-0700) Randall R Schulz apparently typed:
Felix Miata wrote:
Looking at
and the DD man page I figured to see a hex dump of the dmraid data
I should be able to do:

dd if=/dev/hda of=somefile.bin seek=156301440 count=1 bs=512

Dd is just a fancy copy program. It does not format the data it

The desired sectors are beyond the last full cylinder on disk. Not
being within any filesystem, ordinary file viewers wouldn't be able
to find them even if part of a file.

That is nonsensical. If the data in question is "part of a file" then by
definition it's within a file system.

As dmraid data, I didn't expect
them to be within any file anyway. Formatting is a non-issue.

You asked for a "hex dump." That's data formatting.

Nonetheless, when using a raw device, such as /dev/hda, you are not
subject to the boundaries of a file system or of the partioning of the
device, only of its total capacity. If you use a partition,
e.g., /dev/hda0, then you're only going to be able to see the contents
within that partition, as it's defined in the drive's partition table.

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx