Mailinglist Archive: opensuse (2212 mails)
| < Previous | Next > |
Re: [opensuse] help with DD
- From: Felix Miata <mrmazda@xxxxxx>
- Date: Thu, 27 Sep 2007 23:44:29 -0400
- Message-id: <46FC789D.9040306@xxxxxx>
On 2007/09/27 20:22 (GMT-0700) Randall R Schulz apparently typed:
> Felix Miata wrote:
>> Looking at https://bugzilla.novell.com/show_bug.cgi?id=328038#c3 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
> transfers.
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. As dmraid data, I didn't expect them to be within any
file anyway. Formatting is a non-issue.
> Look at the "od" command (literally, "octal dump"), which, despite its
> name, can produce decimal, octal and / or hexadecimal output of 8-, 16-
> and 32-bit entities from the data stream it reads.
mc is all the file viewer I need to find a string "hpt37", no special
formatting required. ;-)
--
"It yet remains a problem to be solved in human affairs,
whether any free government can be permanent, where the
public worship of God, and the support of religion,
constitute no part of the policy or duty of the state in
any assignable shape."
Chief Justice Joseph Story
Team OS/2 ** Reg. Linux User #211409
Felix Miata *** http://mrmazda.no-ip.com/
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
> Felix Miata wrote:
>> Looking at https://bugzilla.novell.com/show_bug.cgi?id=328038#c3 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
> transfers.
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. As dmraid data, I didn't expect them to be within any
file anyway. Formatting is a non-issue.
> Look at the "od" command (literally, "octal dump"), which, despite its
> name, can produce decimal, octal and / or hexadecimal output of 8-, 16-
> and 32-bit entities from the data stream it reads.
mc is all the file viewer I need to find a string "hpt37", no special
formatting required. ;-)
--
"It yet remains a problem to be solved in human affairs,
whether any free government can be permanent, where the
public worship of God, and the support of religion,
constitute no part of the policy or duty of the state in
any assignable shape."
Chief Justice Joseph Story
Team OS/2 ** Reg. Linux User #211409
Felix Miata *** http://mrmazda.no-ip.com/
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |