Subject: re: MAXPARTITIONS (kern/18256)
To: matthew green <>
From: Bill Studenmund <>
List: tech-kern
Date: 06/16/2003 17:40:01
On Tue, 17 Jun 2003, matthew green wrote:

>    > Hello everybody
>    >
>    > kern/18256 requests a bump of MAXPARTITIONS to 16 on hpcarm. A quick
>    > grep shows that rouhgly half of our arch have it definded to 16 and the
>    > other half have it defined to 8.
>    >
>    > Is there a particular reason why MAXPARTITIONS is not consistent accross
>    > platforms? This prevents moving a disk from one arch to another.
>    Yes. You'll screw up all the device nodes in /dev if you don't do it
>    carefully. wd1a will become wd0i.
>    i386 did things in a very kludgy manner, which should not be copied on
>    other archs.
> exactly how else do you make this change without being kludgy?  the
> i386 method seems useful to me - i do believe 1 or 2 other ports
> have copied that change...

Get us a devfs.

As an interum, the i386 method should be changed to move bit fields
around. We're talking about quantities that line up as nice bitmasks, yet
it does multiplication and division.

Take care,