Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Bruno Vidal <bruno_vidal@hpfrcu03.france.hp.com>
To: "parisc-linux@lists.parisc-linux.org"
	<parisc-linux@lists.parisc-linux.org>
Subject: [parisc-linux] Strange offset with file system parition
Date: Fri, 18 Oct 2002 17:58:40 +0200	[thread overview]
Message-ID: <3DB02FB0.5C048CF7@admin.france.hp.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1013 bytes --]

	Hi
I've succeded to produce my first dump using IODC.
I've retrieve it, but I had some difficulties
with ms-dos parition. I'm using "gendisk_head"
to retrieve start/end of a parition. For my sda1
it find 32768. So I'm writing at start+PAGE_SIZE
-> in my case it should be 0x8000 + 0x1000
And When I look by using 
dd if=/dev/sda skip=9 bs=4096 count=1 | hexdump
It's fine, I'm on the right place.

But when doing:
dd if=/dev/sda1 skip=1 bs=4096 count=1 | hexdump
-> I'm not good ?????
There is a difference of 0x600:

hexdump /tmp/sda1.bin | more
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
0001600 a819 0173 618f 23ed 0000 0005 0000 0778
0001610 0000 0008 0000 1000 0000 0000 0004 0000

-> I found my magic number 0x600 to fare.

But

# hexdump /tmp/sda.bin | more
.
.
0009000 a819 0173 618f 23ed 0000 0005 0000 0778

-> that okay !!!!!!!

So my question: where this difference come from ?

Thanks.


-- 
	Vidal Bruno, (770-4271)
        SSD-HA Team, HP-UX & LINUX Support
	bruno_vidal@admin.france.hp.com

[-- Attachment #2: Card for Bruno Vidal --]
[-- Type: text/x-vcard, Size: 386 bytes --]

begin:vcard 
n:Bruno;VIDAL
tel;fax:01-69-82-60-14
tel;work:01-69-29-42-71
x-mozilla-html:TRUE
url:www.france.hp.com
org:Solution Center
version:2.1
email;internet:bruno_vidal@hp.com
title:Expert Logiciel Environnement Haute Disponibilité
adr;quoted-printable:;;HP France=0D=0A;Z.A de Courtaboeuf;1 Av. du Canada;91947 Les Ulis cedex;France
x-mozilla-cpt:;26208
fn:VIDAL Bruno
end:vcard

                 reply	other threads:[~2002-10-18 15:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DB02FB0.5C048CF7@admin.france.hp.com \
    --to=bruno_vidal@hpfrcu03.france.hp.com \
    --cc=parisc-linux@lists.parisc-linux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox