Subject: will the real maxpartitions please stand up?
To: None <email@example.com>
From: Chapman Flack <firstname.lastname@example.org>
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:
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.