Subject: Re: A new partition handling scheme: wedges
To: Manuel Bouyer <email@example.com>
From: Charles M. Hannum <firstname.lastname@example.org>
Date: 01/26/1998 10:10:55
email@example.com (Manuel Bouyer) writes:
> On Jan 26, Charles M. Hannum wrote
> > BTW, something I didn't mention before is that, regardless of anything
> > else we do, I believe we should, on systems that have MBRs, do
> > essentially the same thing Linux does (and that the Amiga port does in
> > RDB) -- have special MBR partition types for `NetBSD root', `NetBSD
> > swap', and `other NetBSD file system' -- and provide the old
> > partitioning system only as a fallback for compatibility.
> > The parsing rules on the i386 port would be:
> > * If there is no MBR, look for a label.
> > * If there is a MBR with a type 0xa5 partition, read the label from
> > that (for compatibility).
> > * If there is a MBR with no type 0xa5 partition, look for type 0xa7
> > (NetBSD root), 0xa8 (NetBSD swap), and 0xa9 (other NetBSD file
> > system), and generate an internal `label' based on that.
> Maybe I missed something, but how do you share a swap partition with
> other systems with this sheme ? I share my swap partitions
> between Linux and NetBSD, and I could find it annoying if I could'nt do
> it any more.
Uh, `what do you think you'd do?' You'd put the device corresponding
to the swap partition in /etc/fstab.
Actually, since there's no default swap partition any more, the
`NetBSD swap' type isn't needed. Perhaps I should have said `NetBSD
dump' -- although I think we should probably switch to configuring the
dump partition explicitly.