On Wed, Dec 10, 2008 at 3:51 PM, Dennis Clarke <[EMAIL PROTECTED]> wrote: > > Any particular reason why we have > > #define MAX_ZONEID 9999 > > in zone.h ? > > I am searching for the definition for zoneid_t but I am guessing that it > is bigger than an unsigned 16 bit integer. > > Given sufficient resources I would guess that a machine could have greater > than 9999 zones defined and configured regardless if they are running or > not. >
zone id's are like PID's - each zone may have a different zone id each time it is booted. It seems as though this value is used to initialize a id_space, which is described at: http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/os/id_space.c#33 -- Mike Gerdts http://mgerdts.blogspot.com/ _______________________________________________ opensolaris-discuss mailing list [email protected]
