Subject: Proposal for new Apple Partition types
To: , <port-mac68k@netbsd.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: port-mac68k
Date: 02/07/2002 10:25:29
I'd like to propose extending a change Matt made to our Apple partition
types. Back when MacOS X beta was wiping people's ffs file systems
(pretending they were ufs ones needing updating), he added two new types,
"NetBSD", and "NetBSD/MacPPC". The former is a NetBSD-specific "user"
partition, and the latter is a NetBSD-specific "root" partition.

Note the way our partitioning works now, the first "root" partition gets
slot a, and the first "user" one gets slot g.

I'd like to make two extentions to this. The first is to add,
"NetBSD/Mac68k", and change how the /MacPPC and /Mac68k partitions work.
They would both be "root" partitions, but slot a would, by default, go
first to the partition named after the port. So you could make a dual-boot
hard disk, and the macppc part would boot off of the "NetBSD/MacPPC"
partition, and the mac68k part would boot off of the "NetBSD/Mac68k" one.

The second change is to add a valid bzb to these partition types. If one
is present, we then use the bzbType field to indicate what NetBSD
partition type to report for the partition. That way we can mark
partitions as having LFS file systems on them for instance. One of these
partitions ("NetBSD*") w/o a valid bzb would be reported as having an ffs.

Thoughts?

Take care,

Bill