On 10/12/05, Cyril Plisko <cyril.plisko at gmail.com> wrote:
> On 10/12/05, Dennis Clarke <blastwave at gmail.com> wrote:
> > ALL :
> >
> >   RE: 
> > http://svn.genunix.org/repos/opensolaris/trunk/usr/src/cmd/fmthard/fmthard.c
> >   and 
> > http://svn.genunix.org/repos/polaris/trunk/usr/src/uts/common/sys/dklabel.h
> >
> >   For a long long time now I have been using 16 slices on the x86
> > edition of Solaris. [1]
>
> The number of partitions to support is an implementation choice:
> http://svn.genunix.org/repos/polaris/trunk/usr/src/uts/common/sys/isa_defs.h
> Look for _SUNOS_VTOC_8 or _SUNOS_VTOC_16.

Yes, I saw that in dklabel.h and was looking in various places for all
references to the _SUNOS_VTOC_8 or 16.

> I put there _SUNOS_VTOC_8 for PPC port since I think that both are quite
> bad nowadays and we should go with EFI (aka GPT) label anyway. There
> are plans to make EFI labeled disks bootable and I hoped to just stick to
> it when it'll be available. EFI label should give you unlimited (in theory)
> number of partitions, if I understood it correctly. Current Solaris
> implementations
> may limit it however.

I thought that this was kinda funny in fmthard.c :

#if defined(_SUNOS_VTOC_16)
        /* make the vtoc look sane - ha ha */
        vtoc->v_version = V_VERSION;
        vtoc->v_sanity = VTOC_SANE;
        vtoc->v_nparts = V_NUMPAR;
.
.
.

  and have been reading more on the issue of EFI labels.

> BTW, lack of certainty on that subject is another reason to postpone the
> PPC disk support meanwhile.

  and stick with netboot for the time being.  check.

Dennis

Reply via email to