usr/src/cmd/zonecfg/zonecfg.c
changeset 11024 16869afd5fb1
parent 9954 26dc94cffbd1
child 11882 051fd9ea8e79
equal deleted inserted replaced
11023:53231798f4a8 11024:16869afd5fb1
   152 };
   152 };
   153 
   153 
   154 #define	MAX_RT_STRLEN	16
   154 #define	MAX_RT_STRLEN	16
   155 
   155 
   156 /* These *must* match the order of the RT_ define's from zonecfg.h */
   156 /* These *must* match the order of the RT_ define's from zonecfg.h */
   157 static char *res_types[] = {
   157 char *res_types[] = {
   158 	"unknown",
   158 	"unknown",
   159 	"zonename",
   159 	"zonename",
   160 	"zonepath",
   160 	"zonepath",
   161 	"autoboot",
   161 	"autoboot",
   162 	"pool",
   162 	"pool",
   184 	"hostid",
   184 	"hostid",
   185 	NULL
   185 	NULL
   186 };
   186 };
   187 
   187 
   188 /* These *must* match the order of the PT_ define's from zonecfg.h */
   188 /* These *must* match the order of the PT_ define's from zonecfg.h */
   189 static char *prop_types[] = {
   189 char *prop_types[] = {
   190 	"unknown",
   190 	"unknown",
   191 	"zonename",
   191 	"zonename",
   192 	"zonepath",
   192 	"zonepath",
   193 	"autoboot",
   193 	"autoboot",
   194 	"pool",
   194 	"pool",