All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] Strange offset with file system parition
@ 2002-10-18 15:58 Bruno Vidal
  0 siblings, 0 replies; only message in thread
From: Bruno Vidal @ 2002-10-18 15:58 UTC (permalink / raw)
  To: parisc-linux@lists.parisc-linux.org

[-- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-18 15:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-18 15:58 [parisc-linux] Strange offset with file system parition Bruno Vidal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.