Subject: will the real maxpartitions please stand up?
To: None <>
From: Chapman Flack <>
List: port-i386
Date: 08/27/2004 11:49:26
How come /sys/arch/i386/include/disklabel.h says:

  #define	MAXPARTITIONS		16	/* number of partitions */

but /sys/arch/i386/conf/files.i386 says:

  maxpartitions 8


I noticed it in 1.6.2 but the CVS HEAD is that way too.

The maxpartitions in files.i386 seems to be used only internally by config
to do some name <-> maj,min mapping.  If there's some trick involved and
these two values really need to be different, there probably should be
comments in both places explaining what the trick is and how many
partitions it's really safe to use and why.

Chapman Flack