Subject: Re: disk label support?
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: Wayne Knowles <wdk@netbsd.org>
List: port-sgimips
Date: 09/24/2001 18:36:49
On Sun, 23 Sep 2001, Hubert Feyrer wrote:

> after:
>
> 16 partitions:
> #        size    offset     fstype  [fsize bsize cpg/sgs]
>  a:  17676630      3753     4.2BSD   1024  8192    16   # (Cyl.    3 - 14132)
>  b:    261459  17680383       swap                      # (Cyl. 14133 - 14341)
>  c:  17941842         0    unknown                      # (Cyl.    0 - 14341)
>  d:      3753         0    unknown                      # (Cyl.    0 - 2)
>
>
> What exactly is in that volume header on partition 'd'?
> Can it be overwritten, or should that better not happen?
> If not, maybe we should make 'd' be from sector 0 to the end,
> and 'c' be from sector 3753 (is this a fixed number?) to then end?
> That'd probably even more conforming with the i386 port then.

The 'd' partition contains the 2nd stage bootstrap known as SASH (for
Standalone Shell).  If you want to boot Irix on your machine you need that
partition.

Given the sgimips port has gone for 16 partitions in the disklabel, can we
not choose to use the 1:1 mapping and leave it in slice 8??  Unfortunately
there is no NetBSD filsystem type that accurately describes the contents,
hence it is made Unknown.

The only slice that really needs renumbering is slice 10 to be slice 2 -
that way the 'c' partition is the entire disk as in the majority of NetBSD
based ports.

Wayne