Subject: Re: how much is the offset of partition c:?
To: henry nelson <netb@irm.nara.kindai.ac.jp>
From: David Vyskocil <david.vyskocil@wanadoo.fr>
List: port-i386
Date: 03/07/2002 16:11:23
Re-hello...

I think the offset of a: and c: partition is 63 to left room for boot-block,
and disklabel.

a: is the NetBSD fs
b: is swap
c: is whole disk minus boot-block (and disklabel ?)
d: is whole RAW disk
g: or h: to mount /usr or /sys maybe...

Hope am not in wrong...

david.vyskocil@wanadoo.fr

> Hi Nelson.
>
> For my drive it's look like this, hope this could help :
>
> routeur: {1} disklabel -r wd0
> # /dev/rwd0d:
> type: unknown
> disk: NetBSD
> label:
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 16
> sectors/cylinder: 1008
> cylinders: 3148
> total sectors: 3173184
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0           # microseconds
> track-to-track seek: 0  # microseconds
> drivedata: 0
>
> 8 partitions:
> #        size   offset     fstype   [fsize bsize cpg/sgs]
>  a:  2923137       63     4.2BSD     1024  8192    16   # (Cyl.    0*-
2899)
>  b:   249984  2923200       swap                        # (Cyl. 2900 -
3147)
>  c:  3173121       63     unused        0     0         # (Cyl.    0*-
3147)
 > d:  3173184        0     unused        0     0         # (Cyl.    0 -
3147)

----- Original Message -----
From: "henry nelson" <netb@irm.nara.kindai.ac.jp>

> I'm trying to write a partition table from scratch to build a disklabel
> for a scsi hdd (4.3GB IBM DDRS-34560D).  In the past, working on the i386/
> pc98 port, all my labels have a 256-sector offset for partitions a and c.
> How about "pure" i386?  (Way in the back of my mind I recall "32" for some
> reason.)
>
> Disklabel gives me the d partition as:
> #        size   offset     fstype   [fsize bsize   cpg]
>   d:  8925000        0     unused        0     0         # (Cyl.    0 -
8419*)
>
> What should partition c: be?  What should the offset for partition a: be?
>
> Thanks a lot.
>
> henry nelson