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

Relevant Pages

  • Re: File recovery freeware
    ... Formatting the drive is a logic fix to correct a corruption*. ... start and extent of each partition. ... each partition with a valid filesystem ... It is possible, but difficult, to recover data after high-level formatting. ...
  • Re: What in the heck am I doing wrong? NTFS boot disk
    ... All partitioning formatting tools need to know correct LCHS geometry used by ... BIOS on target computer to map your disk. ... Also you can't partition removable disk from window you can use first ... > It is not possible to get an XPe Boot CD to format a CF disk and make it ...
  • Re: external drive, partition not visible
    ... Management, ... partition, and then you should see it in My Computer. ... I know when formatting you lose whatever ... If your operating system is XP Media Center 2005 or Vista Home ...
  • Re: Do you consider this software licensing practice ethical? I am furious!
    ... partition, install EQ6, and not use an additional activation. ... Each time formatting is mentioned there is a reference to a partition. ...
  • Re: Opening and saving data files slow
    ... formatting the drives rather than after filling them up with a bunch ... takes with a freshly formatted partition space). ... You're confusing sector size with cluster size. ... started at 4K cluster size for disk volumes less than 8GB, ...