Lines Matching defs:rootPath

509 	char	*rootPath = NULL;
601 r = getRootPath(&rootPath);
608 echoDebug(DBG_ROOTPATH_IS, rootPath);
614 rootPath, "SUNWdclnt", "/");
620 if (strcmp(rootPath, "/") == 0) {
621 log_msg(LOG_MSG_DEBUG, DBG_IDLC_ROOTPATH_BAD, rootPath, "/");
628 log_msg(LOG_MSG_DEBUG, DBG_IDLC_ZONE_BAD, rootPath,
650 rootPath, "/export/exec/Solaris_*/usr");
660 LS_CMD, "-1d", rootPath, "usr/*");
670 rootPath);
677 "%s/%s", rootPath, "../templates");
680 rootPath, rootPath, "../templates");
687 (strcmp(a_gdt->gd_installRoot, rootPath) == 0)) {
689 log_msg(LOG_MSG_DEBUG, DBG_IDLC_INITIAL_INSTALL, rootPath);
698 log_msg(LOG_MSG_DEBUG, DBG_IDLC_ZONE_INSTALL, rootPath);
704 log_msg(LOG_MSG_DEBUG, DBG_IDLC_PATH_IS_DISKLESS_CLIENT, rootPath);
736 char *rootPath = NULL;
826 r = getRootPath(&rootPath);
833 echoDebug(DBG_ROOTPATH_IS, rootPath);
838 (strcmp(a_gdt->gd_installRoot, rootPath) == 0)) {
840 log_msg(LOG_MSG_DEBUG, DBG_ISGZ_INITIAL_INSTALL, rootPath);
848 log_msg(LOG_MSG_DEBUG, DBG_ISGZ_NGZ_ZONE_INSTALL, rootPath);
855 (strcmp(a_gdt->gd_installRoot, rootPath) == 0)) {
859 rootPath);
866 if (strcmp(rootPath, "/") == 0) {
871 rootPath);
879 rootPath, a_gdt->gd_zoneName);
896 "%s/%s", rootPath, "/etc/zones");
899 rootPath, "/etc/zones");
906 "%s/%s", rootPath, ".tmp_proto");
909 rootPath, "/.tmp_proto");
916 "%s/%s", rootPath, "/var");
919 rootPath, "/var");
925 log_msg(LOG_MSG_DEBUG, DBG_ISGZ_PATH_IS_GLOBAL_ZONE, rootPath);
954 char *rootPath = NULL;
1020 r = getRootPath(&rootPath);
1027 echoDebug(DBG_ROOTPATH_IS, rootPath);
1033 rootPath, GLOBAL_ZONENAME);
1041 rootPath);
1048 "%s/%s", rootPath, ".tmp_proto");
1051 rootPath, "/.tmp_proto");
1058 "%s/%s", rootPath, "/var");
1061 rootPath, "/var");
1068 "%s/%s", rootPath, "/tmp/kernel");
1071 rootPath, "/tmp/kernel");
1078 "%s/%s", rootPath, "/.tmp_proto/kernel");
1081 rootPath, "/.tmp_proto/kernel");
1088 (strcmp(a_gdt->gd_installRoot, rootPath) == 0)) {
1090 log_msg(LOG_MSG_DEBUG, DBG_INIM_INITIAL_INSTALL, rootPath);
1099 log_msg(LOG_MSG_DEBUG, DBG_INIM_ZONE_INSTALL, rootPath);
1105 log_msg(LOG_MSG_DEBUG, DBG_INIM_PATH_IS_NETINSTALL_IMAGE, rootPath);
1130 char *rootPath = NULL;
1178 r = getRootPath(&rootPath);
1185 echoDebug(DBG_ROOTPATH_IS, rootPath);
1191 rootPath, GLOBAL_ZONENAME);
1198 "%s/%s", rootPath, "/tmp/kernel");
1201 rootPath, "/tmp/kernel");
1208 "%s/%s", rootPath, "/tmp/root/kernel");
1211 rootPath, "/tmp/root/kernel");
1218 (strcmp(a_gdt->gd_installRoot, rootPath) == 0)) {
1220 log_msg(LOG_MSG_DEBUG, DBG_IMRT_INITIAL_INSTALL, rootPath);
1229 log_msg(LOG_MSG_DEBUG, DBG_IMRT_ZONE_INSTALL, rootPath);
1235 log_msg(LOG_MSG_DEBUG, DBG_IMRT_PATH_IS_MOUNTED_MINIROOT, rootPath);
1257 char *rootPath = NULL;
1305 r = getRootPath(&rootPath);
1312 echoDebug(DBG_ROOTPATH_IS, rootPath);
1317 (strcmp(a_gdt->gd_installRoot, rootPath) == 0)) {
1319 rootPath, a_gdt->gd_zoneName);
1326 (strcmp(a_gdt->gd_installRoot, rootPath) == 0)) {
1328 log_msg(LOG_MSG_DEBUG, DBG_NGZN_INITIAL_INSTALL, rootPath);
1337 log_msg(LOG_MSG_DEBUG, DBG_NGZN_GLOBAL_ZONE_INSTALL, rootPath);
1350 if (strcmp(rootPath, "/") == 0) {
1355 rootPath, a_gdt->gd_zoneName);
1360 rootPath, a_gdt->gd_zoneName);
1371 r = testPath(TEST_EXISTS, "%s/%s", rootPath, "/etc/zones/index");
1376 if (testPath(TEST_GLOBAL_TOKEN_IN_FILE, "%s/%s", rootPath,
1379 rootPath, GLOBAL_ZONENAME);
1400 r = testPath(TEST_NOT_EXISTS, "%s/%s", rootPath, ".tmp_proto");
1404 rootPath, "/.tmp_proto");
1411 "%s/%s", rootPath, "/var");
1415 rootPath, "/var");
1422 "%s/%s", rootPath, "/tmp/root/kernel");
1426 rootPath, "/tmp/root/kernel");
1442 rootPath);
1469 rootPath, a_gdt->gd_parentZoneName);
1479 log_msg(LOG_MSG_DEBUG, DBG_NGZN_IS_NONGLOBAL_ZONE, rootPath);
1496 rootPath, "nonglobal");
1505 rootPath, GLOBAL_ZONENAME);
1515 log_msg(LOG_MSG_DEBUG, DBG_NGZN_IS_NONGLOBAL_ZONE, rootPath);
1540 char *rootPath = NULL;
1606 r = getRootPath(&rootPath);
1613 echoDebug(DBG_ROOTPATH_IS, rootPath);
1617 if (strcmp(rootPath, "/") != 0) {
1618 log_msg(LOG_MSG_DEBUG, DBG_IRST_ROOTPATH_BAD, rootPath, "/");
1625 log_msg(LOG_MSG_DEBUG, DBG_IRST_ZONE_BAD, rootPath,
1633 (strcmp(a_gdt->gd_installRoot, rootPath) == 0)) {
1635 log_msg(LOG_MSG_DEBUG, DBG_IRST_INITIAL_INSTALL, rootPath);
1644 log_msg(LOG_MSG_DEBUG, DBG_IRST_ZONE_INSTALL, rootPath);
1650 log_msg(LOG_MSG_DEBUG, DBG_IRST_PATH_IS_RUNNING_SYSTEM, rootPath);
1673 char *rootPath = NULL;
1748 r = getRootPath(&rootPath);
1755 echoDebug(DBG_ROOTPATH_IS, rootPath);
1760 "%s/%s", rootPath, "/etc");
1763 rootPath, "/etc");
1770 "%s/%s", rootPath, "/platform");
1773 rootPath, "/platform");
1780 "%s/%s", rootPath, "/kernel");
1783 rootPath, "/kernel");
1789 log_msg(LOG_MSG_DEBUG, DBG_ADDV_YES, rootPath);
1812 char *rootPath = NULL;
1887 r = getRootPath(&rootPath);
1894 echoDebug(DBG_ROOTPATH_IS, rootPath);
1899 "%s/%s", rootPath, "/etc");
1902 rootPath, "/etc");
1909 "%s/%s", rootPath, "/platform");
1912 rootPath, "/platform");
1919 "%s/%s", rootPath, "/kernel");
1922 rootPath, "/kernel");
1928 log_msg(LOG_MSG_DEBUG, DBG_UPDV_YES, rootPath);
1951 char *rootPath = NULL;
2026 r = getRootPath(&rootPath);
2033 echoDebug(DBG_ROOTPATH_IS, rootPath);
2038 "%s/%s", rootPath, "/etc");
2041 rootPath, "/etc");
2048 "%s/%s", rootPath, "/platform");
2051 rootPath, "/platform");
2058 "%s/%s", rootPath, "/kernel");
2061 rootPath, "/kernel");
2067 log_msg(LOG_MSG_DEBUG, DBG_RMDV_YES, rootPath);
2090 char *rootPath = NULL;
2145 r = getRootPath(&rootPath);
2152 echoDebug(DBG_ROOTPATH_IS, rootPath);
2156 rootPathLen = strlen(rootPath);
2165 if (strncmp(rootPath, list[n].fsi_mntPoint, mplen) == 0) {
2172 rootPath, list[nn].fsi_mntPoint, list[nn].fsi_fsType,
2184 rootPath, list[nn].fsi_mntOptions);
2190 log_msg(LOG_MSG_DEBUG, DBG_PWRT_IS, rootPath);
2222 char *rootPath = NULL;
2324 r = getRootPath(&rootPath);
2331 echoDebug(DBG_ROOTPATH_IS, rootPath);
2336 (strcmp(a_gdt->gd_installRoot, rootPath) == 0)) {
2337 log_msg(LOG_MSG_DEBUG, DBG_IALR_INITIAL_INSTALL, rootPath);
2343 if (strcmp(rootPath, "/") == 0) {
2344 log_msg(LOG_MSG_DEBUG, DBG_IALR_BAD_ROOTPATH, rootPath, "/");
2351 "%s/%s", rootPath, "/var");
2354 rootPath, "/var");
2363 log_msg(LOG_MSG_DEBUG, DBG_IALR_ZONE_INSTALL, rootPath);
2369 log_msg(LOG_MSG_DEBUG, DBG_IALR_IS, rootPath);
2397 char *rootPath = NULL;
2480 r = getRootPath(&rootPath);
2487 echoDebug(DBG_ROOTPATH_IS, rootPath);
2491 if (strcmp(rootPath, "/") == 0) {
2492 log_msg(LOG_MSG_DEBUG, DBG_BENV_BAD_ROOTPATH, rootPath, "/");
2499 log_msg(LOG_MSG_DEBUG, DBG_BENV_BAD_ZONE, rootPath,
2506 r = testPath(TEST_EXISTS, "%s/%s", rootPath, "/etc/lutab");
2508 log_msg(LOG_MSG_DEBUG, DBG_BENV_NO_ETCLUTAB, rootPath,
2516 "%s/%s", rootPath, "/etc/lu");
2518 log_msg(LOG_MSG_DEBUG, DBG_BENV_NO_ETCLU, rootPath, "/etc/lu");
2525 (strcmp(a_gdt->gd_installRoot, rootPath) == 0)) {
2526 log_msg(LOG_MSG_DEBUG, DBG_BENV_INITIAL_INSTALL, rootPath);
2535 log_msg(LOG_MSG_DEBUG, DBG_BENV_ZONE_INSTALL, rootPath);
2541 log_msg(LOG_MSG_DEBUG, DBG_BENV_IS, rootPath);
2560 char *rootPath = NULL;
2602 r = getRootPath(&rootPath);
2613 argv[argc++] = strdup(rootPath);
2617 echoDebug(DBG_ROOTPATH_IS, rootPath);