Lines Matching defs:rootPath

511 	char	*rootPath = NULL;
603 r = getRootPath(&rootPath);
610 echoDebug(DBG_ROOTPATH_IS, rootPath);
616 rootPath, "SUNWdclnt", "/");
622 if (strcmp(rootPath, "/") == 0) {
623 log_msg(LOG_MSG_DEBUG, DBG_IDLC_ROOTPATH_BAD, rootPath, "/");
630 log_msg(LOG_MSG_DEBUG, DBG_IDLC_ZONE_BAD, rootPath,
652 rootPath, "/export/exec/Solaris_*/usr");
662 LS_CMD, "-1d", rootPath, "usr/*");
672 rootPath);
679 "%s/%s", rootPath, "../templates");
682 rootPath, rootPath, "../templates");
689 (strcmp(a_gdt->gd_installRoot, rootPath) == 0)) {
691 log_msg(LOG_MSG_DEBUG, DBG_IDLC_INITIAL_INSTALL, rootPath);
700 log_msg(LOG_MSG_DEBUG, DBG_IDLC_ZONE_INSTALL, rootPath);
706 log_msg(LOG_MSG_DEBUG, DBG_IDLC_PATH_IS_DISKLESS_CLIENT, rootPath);
738 char *rootPath = NULL;
828 r = getRootPath(&rootPath);
835 echoDebug(DBG_ROOTPATH_IS, rootPath);
840 (strcmp(a_gdt->gd_installRoot, rootPath) == 0)) {
842 log_msg(LOG_MSG_DEBUG, DBG_ISGZ_INITIAL_INSTALL, rootPath);
850 log_msg(LOG_MSG_DEBUG, DBG_ISGZ_NGZ_ZONE_INSTALL, rootPath);
857 (strcmp(a_gdt->gd_installRoot, rootPath) == 0)) {
861 rootPath);
868 if (strcmp(rootPath, "/") == 0) {
873 rootPath);
881 rootPath, a_gdt->gd_zoneName);
898 "%s/%s", rootPath, "/etc/zones");
901 rootPath, "/etc/zones");
908 "%s/%s", rootPath, ".tmp_proto");
911 rootPath, "/.tmp_proto");
918 "%s/%s", rootPath, "/var");
921 rootPath, "/var");
927 log_msg(LOG_MSG_DEBUG, DBG_ISGZ_PATH_IS_GLOBAL_ZONE, rootPath);
956 char *rootPath = NULL;
1022 r = getRootPath(&rootPath);
1029 echoDebug(DBG_ROOTPATH_IS, rootPath);
1035 rootPath, GLOBAL_ZONENAME);
1043 rootPath);
1050 "%s/%s", rootPath, ".tmp_proto");
1053 rootPath, "/.tmp_proto");
1060 "%s/%s", rootPath, "/var");
1063 rootPath, "/var");
1070 "%s/%s", rootPath, "/tmp/kernel");
1073 rootPath, "/tmp/kernel");
1080 "%s/%s", rootPath, "/.tmp_proto/kernel");
1083 rootPath, "/.tmp_proto/kernel");
1090 (strcmp(a_gdt->gd_installRoot, rootPath) == 0)) {
1092 log_msg(LOG_MSG_DEBUG, DBG_INIM_INITIAL_INSTALL, rootPath);
1101 log_msg(LOG_MSG_DEBUG, DBG_INIM_ZONE_INSTALL, rootPath);
1107 log_msg(LOG_MSG_DEBUG, DBG_INIM_PATH_IS_NETINSTALL_IMAGE, rootPath);
1132 char *rootPath = NULL;
1180 r = getRootPath(&rootPath);
1187 echoDebug(DBG_ROOTPATH_IS, rootPath);
1193 rootPath, GLOBAL_ZONENAME);
1200 "%s/%s", rootPath, "/tmp/kernel");
1203 rootPath, "/tmp/kernel");
1210 "%s/%s", rootPath, "/tmp/root/kernel");
1213 rootPath, "/tmp/root/kernel");
1220 (strcmp(a_gdt->gd_installRoot, rootPath) == 0)) {
1222 log_msg(LOG_MSG_DEBUG, DBG_IMRT_INITIAL_INSTALL, rootPath);
1231 log_msg(LOG_MSG_DEBUG, DBG_IMRT_ZONE_INSTALL, rootPath);
1237 log_msg(LOG_MSG_DEBUG, DBG_IMRT_PATH_IS_MOUNTED_MINIROOT, rootPath);
1259 char *rootPath = NULL;
1307 r = getRootPath(&rootPath);
1314 echoDebug(DBG_ROOTPATH_IS, rootPath);
1319 (strcmp(a_gdt->gd_installRoot, rootPath) == 0)) {
1321 rootPath, a_gdt->gd_zoneName);
1328 (strcmp(a_gdt->gd_installRoot, rootPath) == 0)) {
1330 log_msg(LOG_MSG_DEBUG, DBG_NGZN_INITIAL_INSTALL, rootPath);
1339 log_msg(LOG_MSG_DEBUG, DBG_NGZN_GLOBAL_ZONE_INSTALL, rootPath);
1352 if (strcmp(rootPath, "/") == 0) {
1357 rootPath, a_gdt->gd_zoneName);
1362 rootPath, a_gdt->gd_zoneName);
1373 r = testPath(TEST_EXISTS, "%s/%s", rootPath, "/etc/zones/index");
1378 if (testPath(TEST_GLOBAL_TOKEN_IN_FILE, "%s/%s", rootPath,
1381 rootPath, GLOBAL_ZONENAME);
1402 r = testPath(TEST_NOT_EXISTS, "%s/%s", rootPath, ".tmp_proto");
1406 rootPath, "/.tmp_proto");
1413 "%s/%s", rootPath, "/var");
1417 rootPath, "/var");
1424 "%s/%s", rootPath, "/tmp/root/kernel");
1428 rootPath, "/tmp/root/kernel");
1444 rootPath);
1471 rootPath, a_gdt->gd_parentZoneName);
1481 log_msg(LOG_MSG_DEBUG, DBG_NGZN_IS_NONGLOBAL_ZONE, rootPath);
1498 rootPath, "nonglobal");
1507 rootPath, GLOBAL_ZONENAME);
1517 log_msg(LOG_MSG_DEBUG, DBG_NGZN_IS_NONGLOBAL_ZONE, rootPath);
1542 char *rootPath = NULL;
1608 r = getRootPath(&rootPath);
1615 echoDebug(DBG_ROOTPATH_IS, rootPath);
1619 if (strcmp(rootPath, "/") != 0) {
1620 log_msg(LOG_MSG_DEBUG, DBG_IRST_ROOTPATH_BAD, rootPath, "/");
1627 log_msg(LOG_MSG_DEBUG, DBG_IRST_ZONE_BAD, rootPath,
1635 (strcmp(a_gdt->gd_installRoot, rootPath) == 0)) {
1637 log_msg(LOG_MSG_DEBUG, DBG_IRST_INITIAL_INSTALL, rootPath);
1646 log_msg(LOG_MSG_DEBUG, DBG_IRST_ZONE_INSTALL, rootPath);
1652 log_msg(LOG_MSG_DEBUG, DBG_IRST_PATH_IS_RUNNING_SYSTEM, rootPath);
1675 char *rootPath = NULL;
1750 r = getRootPath(&rootPath);
1757 echoDebug(DBG_ROOTPATH_IS, rootPath);
1762 "%s/%s", rootPath, "/etc");
1765 rootPath, "/etc");
1772 "%s/%s", rootPath, "/platform");
1775 rootPath, "/platform");
1782 "%s/%s", rootPath, "/kernel");
1785 rootPath, "/kernel");
1791 log_msg(LOG_MSG_DEBUG, DBG_ADDV_YES, rootPath);
1814 char *rootPath = NULL;
1889 r = getRootPath(&rootPath);
1896 echoDebug(DBG_ROOTPATH_IS, rootPath);
1901 "%s/%s", rootPath, "/etc");
1904 rootPath, "/etc");
1911 "%s/%s", rootPath, "/platform");
1914 rootPath, "/platform");
1921 "%s/%s", rootPath, "/kernel");
1924 rootPath, "/kernel");
1930 log_msg(LOG_MSG_DEBUG, DBG_UPDV_YES, rootPath);
1953 char *rootPath = NULL;
2028 r = getRootPath(&rootPath);
2035 echoDebug(DBG_ROOTPATH_IS, rootPath);
2040 "%s/%s", rootPath, "/etc");
2043 rootPath, "/etc");
2050 "%s/%s", rootPath, "/platform");
2053 rootPath, "/platform");
2060 "%s/%s", rootPath, "/kernel");
2063 rootPath, "/kernel");
2069 log_msg(LOG_MSG_DEBUG, DBG_RMDV_YES, rootPath);
2092 char *rootPath = NULL;
2147 r = getRootPath(&rootPath);
2154 echoDebug(DBG_ROOTPATH_IS, rootPath);
2158 rootPathLen = strlen(rootPath);
2167 if (strncmp(rootPath, list[n].fsi_mntPoint, mplen) == 0) {
2174 rootPath, list[nn].fsi_mntPoint, list[nn].fsi_fsType,
2186 rootPath, list[nn].fsi_mntOptions);
2192 log_msg(LOG_MSG_DEBUG, DBG_PWRT_IS, rootPath);
2224 char *rootPath = NULL;
2326 r = getRootPath(&rootPath);
2333 echoDebug(DBG_ROOTPATH_IS, rootPath);
2338 (strcmp(a_gdt->gd_installRoot, rootPath) == 0)) {
2339 log_msg(LOG_MSG_DEBUG, DBG_IALR_INITIAL_INSTALL, rootPath);
2345 if (strcmp(rootPath, "/") == 0) {
2346 log_msg(LOG_MSG_DEBUG, DBG_IALR_BAD_ROOTPATH, rootPath, "/");
2353 "%s/%s", rootPath, "/var");
2356 rootPath, "/var");
2365 log_msg(LOG_MSG_DEBUG, DBG_IALR_ZONE_INSTALL, rootPath);
2371 log_msg(LOG_MSG_DEBUG, DBG_IALR_IS, rootPath);
2399 char *rootPath = NULL;
2482 r = getRootPath(&rootPath);
2489 echoDebug(DBG_ROOTPATH_IS, rootPath);
2493 if (strcmp(rootPath, "/") == 0) {
2494 log_msg(LOG_MSG_DEBUG, DBG_BENV_BAD_ROOTPATH, rootPath, "/");
2501 log_msg(LOG_MSG_DEBUG, DBG_BENV_BAD_ZONE, rootPath,
2508 r = testPath(TEST_EXISTS, "%s/%s", rootPath, "/etc/lutab");
2510 log_msg(LOG_MSG_DEBUG, DBG_BENV_NO_ETCLUTAB, rootPath,
2518 "%s/%s", rootPath, "/etc/lu");
2520 log_msg(LOG_MSG_DEBUG, DBG_BENV_NO_ETCLU, rootPath, "/etc/lu");
2527 (strcmp(a_gdt->gd_installRoot, rootPath) == 0)) {
2528 log_msg(LOG_MSG_DEBUG, DBG_BENV_INITIAL_INSTALL, rootPath);
2537 log_msg(LOG_MSG_DEBUG, DBG_BENV_ZONE_INSTALL, rootPath);
2543 log_msg(LOG_MSG_DEBUG, DBG_BENV_IS, rootPath);
2562 char *rootPath = NULL;
2604 r = getRootPath(&rootPath);
2615 argv[argc++] = strdup(rootPath);
2619 echoDebug(DBG_ROOTPATH_IS, rootPath);