Subject: Re: Increasing maximum partition to 16
To: Matthias Scheler <tron@zhadum.de>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 12/28/2000 20:42:27
On Thu, Dec 28, 2000 at 05:29:34PM +0000, Matthias Scheler wrote:
> Hello,
>
> I've attached changes for NetBSD-current which give the i386 port a maximum
> of 16 partitions per disk:
>
> tron@lyssa:~#df
> Filesystem 1K-blocks Used Avail Capacity Mounted on
> [...]
> /dev/vnd0l 31727 1 30139 0% /mnt/l
>
> The changes are:
>
> + completely backward compatible (new kernel works with old device nodes)
> + easily reusable for other ports like e.g. alpha or sparc
>
> The trick is to use some extra upper bits of the minor device number for
> the partition.
Maybe we could get this in ? The 8 partition limit is more and more a problem,
especially on i386, and nobody seems to be working on the "ideal solution".
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
--