Subject: Re: A new partition handling scheme: wedges
To: Charles M. Hannum <mycroft@mit.edu>
From: Manuel Bouyer <bouyer@chassiron.ensta.fr>
List: tech-kern
Date: 01/26/1998 14:27:19
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.

--
Manuel Bouyer, LIP6, Universite Paris VI.
email: bouyer@rp.lip6.fr
       bouyer@ensta.fr
--