19781SMoriah.Waterland@Sun.COM /* 29781SMoriah.Waterland@Sun.COM * CDDL HEADER START 39781SMoriah.Waterland@Sun.COM * 49781SMoriah.Waterland@Sun.COM * The contents of this file are subject to the terms of the 59781SMoriah.Waterland@Sun.COM * Common Development and Distribution License (the "License"). 69781SMoriah.Waterland@Sun.COM * You may not use this file except in compliance with the License. 79781SMoriah.Waterland@Sun.COM * 89781SMoriah.Waterland@Sun.COM * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 99781SMoriah.Waterland@Sun.COM * or http://www.opensolaris.org/os/licensing. 109781SMoriah.Waterland@Sun.COM * See the License for the specific language governing permissions 119781SMoriah.Waterland@Sun.COM * and limitations under the License. 129781SMoriah.Waterland@Sun.COM * 139781SMoriah.Waterland@Sun.COM * When distributing Covered Code, include this CDDL HEADER in each 149781SMoriah.Waterland@Sun.COM * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 159781SMoriah.Waterland@Sun.COM * If applicable, add the following below this CDDL HEADER, with the 169781SMoriah.Waterland@Sun.COM * fields enclosed by brackets "[]" replaced with your own identifying 179781SMoriah.Waterland@Sun.COM * information: Portions Copyright [yyyy] [name of copyright owner] 189781SMoriah.Waterland@Sun.COM * 199781SMoriah.Waterland@Sun.COM * CDDL HEADER END 209781SMoriah.Waterland@Sun.COM */ 219781SMoriah.Waterland@Sun.COM 229781SMoriah.Waterland@Sun.COM /* 23*12734Sgary.pennington@oracle.com * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 249781SMoriah.Waterland@Sun.COM */ 259781SMoriah.Waterland@Sun.COM 269781SMoriah.Waterland@Sun.COM #ifndef _PKGCOND_MSGS_H 279781SMoriah.Waterland@Sun.COM #define _PKGCOND_MSGS_H 289781SMoriah.Waterland@Sun.COM 299781SMoriah.Waterland@Sun.COM 309781SMoriah.Waterland@Sun.COM #include <libintl.h> 319781SMoriah.Waterland@Sun.COM 329781SMoriah.Waterland@Sun.COM #ifdef __cplusplus 339781SMoriah.Waterland@Sun.COM extern "C" { 349781SMoriah.Waterland@Sun.COM #endif 359781SMoriah.Waterland@Sun.COM 369781SMoriah.Waterland@Sun.COM #ifdef lint 379781SMoriah.Waterland@Sun.COM #define gettext(x) x 389781SMoriah.Waterland@Sun.COM #endif 399781SMoriah.Waterland@Sun.COM 409781SMoriah.Waterland@Sun.COM /* generic messages */ 419781SMoriah.Waterland@Sun.COM 429781SMoriah.Waterland@Sun.COM #define MSG_USAGE gettext(\ 439781SMoriah.Waterland@Sun.COM "%s; usage is:\n" \ 449781SMoriah.Waterland@Sun.COM "\t%s [-nv] <condition> [ <option(s)> ]\n" \ 459781SMoriah.Waterland@Sun.COM "\n" \ 469781SMoriah.Waterland@Sun.COM "command options:\n" \ 479781SMoriah.Waterland@Sun.COM "\t-n - negate results of condition test\n" \ 489781SMoriah.Waterland@Sun.COM "\t-v - verbose output of condition testing\n" \ 499781SMoriah.Waterland@Sun.COM "\n" \ 509781SMoriah.Waterland@Sun.COM "<condition> may be any one of:\n" \ 519781SMoriah.Waterland@Sun.COM "%s\n" \ 529781SMoriah.Waterland@Sun.COM "<option(s)> are specific to the condition used\n" \ 539781SMoriah.Waterland@Sun.COM "\n" \ 549781SMoriah.Waterland@Sun.COM "pkgcond -?\n" \ 559781SMoriah.Waterland@Sun.COM "\t- Shows this help message\n") 569781SMoriah.Waterland@Sun.COM 579781SMoriah.Waterland@Sun.COM #define MSG_NO_PKG_ENV_DATA_PRESENT gettext(\ 589781SMoriah.Waterland@Sun.COM "no data available from package tools: zone information may be incomplete") 599781SMoriah.Waterland@Sun.COM 609781SMoriah.Waterland@Sun.COM #define MSG_NO_ARGUMENTS_SPECIFIED gettext(\ 619781SMoriah.Waterland@Sun.COM "no condition to check specified") 629781SMoriah.Waterland@Sun.COM 639781SMoriah.Waterland@Sun.COM #define MSG_INVALID_OPTION_SPECIFIED gettext(\ 649781SMoriah.Waterland@Sun.COM "option <%c> not recognized") 659781SMoriah.Waterland@Sun.COM 669781SMoriah.Waterland@Sun.COM #define MSG_IS_INVALID_OPTION gettext(\ 679781SMoriah.Waterland@Sun.COM "option <%c> not recognized by condition <%s>") 689781SMoriah.Waterland@Sun.COM 699781SMoriah.Waterland@Sun.COM #define MSG_UNRECOGNIZED_CONDITION_SPECIFIED gettext(\ 709781SMoriah.Waterland@Sun.COM "condition not recognized") 719781SMoriah.Waterland@Sun.COM 729781SMoriah.Waterland@Sun.COM #define MSG_IS_WHAT_RESULT gettext(\ 739781SMoriah.Waterland@Sun.COM "%s=%d") 749781SMoriah.Waterland@Sun.COM 759781SMoriah.Waterland@Sun.COM /* debugging messages */ 769781SMoriah.Waterland@Sun.COM 779781SMoriah.Waterland@Sun.COM #define DBG_NO_RECURSION gettext(\ 789781SMoriah.Waterland@Sun.COM "nonrecursive call to <%s>") 799781SMoriah.Waterland@Sun.COM 809781SMoriah.Waterland@Sun.COM #define DBG_RECURSION gettext(\ 819781SMoriah.Waterland@Sun.COM "recursive call to <%s> count <%d> ignored") 829781SMoriah.Waterland@Sun.COM 839781SMoriah.Waterland@Sun.COM #define DBG_TESTPATH_OK gettext(\ 849781SMoriah.Waterland@Sun.COM "path <%s> matches all criteria") 859781SMoriah.Waterland@Sun.COM 869781SMoriah.Waterland@Sun.COM #define DBG_ADDV_PATH_IS_SYMLINK gettext(\ 879781SMoriah.Waterland@Sun.COM "cannot add driver to path <%s>: <%s> does not exist or exists but " \ 889781SMoriah.Waterland@Sun.COM "is a symbolic link") 899781SMoriah.Waterland@Sun.COM 909781SMoriah.Waterland@Sun.COM #define DBG_ADDV_YES gettext(\ 919781SMoriah.Waterland@Sun.COM "root path <%s> can have a driver added") 929781SMoriah.Waterland@Sun.COM 939781SMoriah.Waterland@Sun.COM #define DBG_UPDV_PATH_IS_SYMLINK gettext(\ 949781SMoriah.Waterland@Sun.COM "cannot update driver to path <%s>: <%s> does not exist or exists but " \ 959781SMoriah.Waterland@Sun.COM "is a symbolic link") 969781SMoriah.Waterland@Sun.COM 979781SMoriah.Waterland@Sun.COM #define DBG_UPDV_YES gettext(\ 989781SMoriah.Waterland@Sun.COM "root path <%s> can have a driver updated") 999781SMoriah.Waterland@Sun.COM 1009781SMoriah.Waterland@Sun.COM #define DBG_RMDV_PATH_IS_SYMLINK gettext(\ 1019781SMoriah.Waterland@Sun.COM "cannot remove driver to path <%s>: <%s> does not exist or exists but " \ 1029781SMoriah.Waterland@Sun.COM "is a symbolic link") 1039781SMoriah.Waterland@Sun.COM 1049781SMoriah.Waterland@Sun.COM #define DBG_RMDV_YES gettext(\ 1059781SMoriah.Waterland@Sun.COM "root path <%s> can have a driver removed") 1069781SMoriah.Waterland@Sun.COM 1079781SMoriah.Waterland@Sun.COM #define DBG_ROOTPATH_IS gettext(\ 1089781SMoriah.Waterland@Sun.COM "root path is <%s>") 1099781SMoriah.Waterland@Sun.COM 1109781SMoriah.Waterland@Sun.COM #define DBG_CANNOT_ACCESS_PATH_BUT_SHOULD gettext(\ 1119781SMoriah.Waterland@Sun.COM "test_path: path <%s> must exist and does not: %s") 1129781SMoriah.Waterland@Sun.COM 1139781SMoriah.Waterland@Sun.COM #define DBG_CANNOT_ACCESS_PATH_OK gettext(\ 1149781SMoriah.Waterland@Sun.COM "test_path: path <%s> must not (and does not) exist") 1159781SMoriah.Waterland@Sun.COM 1169781SMoriah.Waterland@Sun.COM #define DBG_PATH_DOES_NOT_EXIST gettext(\ 1179781SMoriah.Waterland@Sun.COM "test_path: path <%s> does not exist: %s") 1189781SMoriah.Waterland@Sun.COM 1199781SMoriah.Waterland@Sun.COM #define DBG_CANNOT_LSTAT_PATH gettext(\ 1209781SMoriah.Waterland@Sun.COM "test_path: cannot lstat path <%s>: %s") 1219781SMoriah.Waterland@Sun.COM 1229781SMoriah.Waterland@Sun.COM #define DBG_IS_A_DIRECTORY gettext(\ 1239781SMoriah.Waterland@Sun.COM "test_path: path <%s> is a directory but is not supposed to be") 1249781SMoriah.Waterland@Sun.COM 1259781SMoriah.Waterland@Sun.COM #define DBG_IS_NOT_A_DIRECTORY gettext(\ 1269781SMoriah.Waterland@Sun.COM "test_path: path <%s> is not a directory but is supposed to be") 1279781SMoriah.Waterland@Sun.COM 1289781SMoriah.Waterland@Sun.COM #define DBG_DIRECTORY_NOT gettext(\ 1299781SMoriah.Waterland@Sun.COM "test_path: path <%s> is not a directory") 1309781SMoriah.Waterland@Sun.COM 1319781SMoriah.Waterland@Sun.COM #define DBG_DIRECTORY_IS gettext(\ 1329781SMoriah.Waterland@Sun.COM "test_path: path <%s> is a directory") 1339781SMoriah.Waterland@Sun.COM 1349781SMoriah.Waterland@Sun.COM #define DBG_IS_A_FILE gettext(\ 1359781SMoriah.Waterland@Sun.COM "test_path: path <%s> is a file but is not supposed to be") 1369781SMoriah.Waterland@Sun.COM 1379781SMoriah.Waterland@Sun.COM #define DBG_IS_NOT_A_FILE gettext(\ 1389781SMoriah.Waterland@Sun.COM "test_path: path <%s> is not a file but is supposed to be") 1399781SMoriah.Waterland@Sun.COM 1409781SMoriah.Waterland@Sun.COM #define DBG_TOKEN__EXISTS gettext(\ 1419781SMoriah.Waterland@Sun.COM "test_path: token <%s> exists in path <%s>") 1429781SMoriah.Waterland@Sun.COM 1439781SMoriah.Waterland@Sun.COM #define DBG_FILE_NOT gettext(\ 1449781SMoriah.Waterland@Sun.COM "test_path: path <%s> is not a file") 1459781SMoriah.Waterland@Sun.COM 1469781SMoriah.Waterland@Sun.COM #define DBG_FILE_IS gettext(\ 1479781SMoriah.Waterland@Sun.COM "test_path: path <%s> is a file") 1489781SMoriah.Waterland@Sun.COM 1499781SMoriah.Waterland@Sun.COM #define DBG_IS_A_SYMLINK gettext(\ 1509781SMoriah.Waterland@Sun.COM "test_path: path <%s> is a symlink but is not supposed to be") 1519781SMoriah.Waterland@Sun.COM 1529781SMoriah.Waterland@Sun.COM #define DBG_IS_NOT_A_SYMLINK gettext(\ 1539781SMoriah.Waterland@Sun.COM "test_path: path <%s> is not a symlink but is supposed to be") 1549781SMoriah.Waterland@Sun.COM 1559781SMoriah.Waterland@Sun.COM #define DBG_SORTEDINS_SKIPPED gettext(\ 1569781SMoriah.Waterland@Sun.COM "duplicate entry <%d> : <%s> (<%s> vs <%s>, <%s> vs <%s>): merged options") 1579781SMoriah.Waterland@Sun.COM 1589781SMoriah.Waterland@Sun.COM #define DBG_SYMLINK_NOT gettext(\ 1599781SMoriah.Waterland@Sun.COM "test_path: path <%s> is not a symlink") 1609781SMoriah.Waterland@Sun.COM 1619781SMoriah.Waterland@Sun.COM #define DBG_SYMLINK_IS gettext(\ 1629781SMoriah.Waterland@Sun.COM "test_path: path <%s> is a symlink") 1639781SMoriah.Waterland@Sun.COM 1649781SMoriah.Waterland@Sun.COM #define DBG_SET_NEGATE_RESULTS gettext(\ 1659781SMoriah.Waterland@Sun.COM "set_negate_results: current setting <%d> new setting <%d>") 1669781SMoriah.Waterland@Sun.COM 1679781SMoriah.Waterland@Sun.COM #define DBG_ADJUST_RESULTS gettext(\ 1689781SMoriah.Waterland@Sun.COM "adjust_results: result <%d> negate <%d> returned result <%d>") 1699781SMoriah.Waterland@Sun.COM 1709781SMoriah.Waterland@Sun.COM #define DBG_PARSE_GLOBAL gettext(\ 1719781SMoriah.Waterland@Sun.COM "parsing global data <%s>") 1729781SMoriah.Waterland@Sun.COM 1739781SMoriah.Waterland@Sun.COM #define DBG_NO_DEFAULT_ROOT_PATH_SET gettext(\ 1749781SMoriah.Waterland@Sun.COM "no default root path set") 1759781SMoriah.Waterland@Sun.COM 1769781SMoriah.Waterland@Sun.COM #define DBG_DEFAULT_ROOT_PATH_SET gettext(\ 1779781SMoriah.Waterland@Sun.COM "default root path <%s> set from environment variable <%s>") 1789781SMoriah.Waterland@Sun.COM 1799781SMoriah.Waterland@Sun.COM #define DBG_RESULTS gettext(\ 1809781SMoriah.Waterland@Sun.COM "returning results <%d>") 1819781SMoriah.Waterland@Sun.COM 1829781SMoriah.Waterland@Sun.COM #define DBG_SET_ROOT_PATH_TO gettext(\ 1839781SMoriah.Waterland@Sun.COM "setting root path to <%s>") 1849781SMoriah.Waterland@Sun.COM 1859781SMoriah.Waterland@Sun.COM #define DBG_TEST_PATH gettext(\ 1869781SMoriah.Waterland@Sun.COM "test path <%s> flags <0x%08lx>") 1879781SMoriah.Waterland@Sun.COM 1889781SMoriah.Waterland@Sun.COM #define DBG_TEST_PATH_NO_RESOLVE gettext(\ 1899781SMoriah.Waterland@Sun.COM "cannot resolve path <%s>") 1909781SMoriah.Waterland@Sun.COM 1919781SMoriah.Waterland@Sun.COM #define DBG_TEST_PATH_RESOLVE gettext(\ 1929781SMoriah.Waterland@Sun.COM "test resolved path <%s>") 1939781SMoriah.Waterland@Sun.COM 1949781SMoriah.Waterland@Sun.COM #define DBG_TEST_EXISTS_SHOULD_NOT gettext(\ 1959781SMoriah.Waterland@Sun.COM "path <%s> exists but should not") 1969781SMoriah.Waterland@Sun.COM 1979781SMoriah.Waterland@Sun.COM #define DBG_PARSED_ENVIRONMENT gettext(\ 1989781SMoriah.Waterland@Sun.COM "global data parsed from environment variable <%s>") 1999781SMoriah.Waterland@Sun.COM 2009781SMoriah.Waterland@Sun.COM #define DBG_DUMP_GLOBAL_ENTRY gettext(\ 2019781SMoriah.Waterland@Sun.COM "global data settings") 2029781SMoriah.Waterland@Sun.COM 2039781SMoriah.Waterland@Sun.COM #define DBG_DUMP_GLOBAL_PARENT_ZONE gettext(\ 2049781SMoriah.Waterland@Sun.COM "parentzone zoneName <%s> zoneType <%s>") 2059781SMoriah.Waterland@Sun.COM 2069781SMoriah.Waterland@Sun.COM #define DBG_DUMP_GLOBAL_CURRENT_ZONE gettext(\ 2079781SMoriah.Waterland@Sun.COM "currentzone zoneName <%s> zoneType <%s>") 2089781SMoriah.Waterland@Sun.COM 2099781SMoriah.Waterland@Sun.COM #define DBG_IDLC_INITIAL_INSTALL gettext(\ 2109781SMoriah.Waterland@Sun.COM "path <%s> is not a diskless client: initial installation in progress") 2119781SMoriah.Waterland@Sun.COM 2129781SMoriah.Waterland@Sun.COM #define DBG_IDLC_ZONE_INSTALL gettext(\ 2139781SMoriah.Waterland@Sun.COM "path <%s> is not a diskless client: initial zone installation in progress") 2149781SMoriah.Waterland@Sun.COM 2159781SMoriah.Waterland@Sun.COM #define DBG_IDLC_PKG_NOT_INSTALLED gettext(\ 2169781SMoriah.Waterland@Sun.COM "path <%s> is not a diskless client: package <%s> is not installed in <%s>") 2179781SMoriah.Waterland@Sun.COM 2189781SMoriah.Waterland@Sun.COM #define DBG_IDLC_ROOTPATH_BAD gettext(\ 2199781SMoriah.Waterland@Sun.COM "path <%s> is not a diskless client: root path cannot be <%s>") 2209781SMoriah.Waterland@Sun.COM 2219781SMoriah.Waterland@Sun.COM #define DBG_IDLC_ZONE_BAD gettext(\ 2229781SMoriah.Waterland@Sun.COM "path <%s> is not a diskless client: current zone must be <%s>") 2239781SMoriah.Waterland@Sun.COM 2249781SMoriah.Waterland@Sun.COM #define DBG_IDLC_PATH_MISSING gettext(\ 2259781SMoriah.Waterland@Sun.COM "path <%s> is not a diskless client: <%s> does not exist") 2269781SMoriah.Waterland@Sun.COM 2279781SMoriah.Waterland@Sun.COM #define DBG_IDLC_USR_IS_NOT_EMPTY gettext(\ 2289781SMoriah.Waterland@Sun.COM "path <%s> is not a diskless client: </usr> is not empty") 2299781SMoriah.Waterland@Sun.COM 2309781SMoriah.Waterland@Sun.COM #define DBG_IDLC_NO_TEMPLATES_PATH gettext(\ 2319781SMoriah.Waterland@Sun.COM "path <%s> is not a diskless client: <%s/%s> does not exist") 2329781SMoriah.Waterland@Sun.COM 2339781SMoriah.Waterland@Sun.COM #define DBG_IDLC_PATH_IS_DISKLESS_CLIENT gettext(\ 2349781SMoriah.Waterland@Sun.COM "path <%s> is a diskless client") 2359781SMoriah.Waterland@Sun.COM 2369781SMoriah.Waterland@Sun.COM #define DBG_ISGZ_INITIAL_INSTALL gettext(\ 2379781SMoriah.Waterland@Sun.COM "path <%s> is not a global zone: initial installation in progress") 2389781SMoriah.Waterland@Sun.COM 2399781SMoriah.Waterland@Sun.COM #define DBG_ISGZ_NGZ_ZONE_INSTALL gettext(\ 2409781SMoriah.Waterland@Sun.COM "path <%s> is not a global zone: initial non-global zone " \ 2419781SMoriah.Waterland@Sun.COM "installation in progress") 2429781SMoriah.Waterland@Sun.COM 2439781SMoriah.Waterland@Sun.COM #define DBG_ISGZ_PATH_IS_GLOBAL_ZONE gettext(\ 2449781SMoriah.Waterland@Sun.COM "path <%s> is a global zone") 2459781SMoriah.Waterland@Sun.COM 2469781SMoriah.Waterland@Sun.COM #define DBG_ISGZ_PATH_ISNT_DIRECTORY gettext(\ 2479781SMoriah.Waterland@Sun.COM "path <%s> is not a global zone: directory <%s> does not exist") 2489781SMoriah.Waterland@Sun.COM 2499781SMoriah.Waterland@Sun.COM #define DBG_ISGZ_PATH_EXISTS gettext(\ 2509781SMoriah.Waterland@Sun.COM "path <%s> is not a global zone: <%s> exists") 2519781SMoriah.Waterland@Sun.COM 2529781SMoriah.Waterland@Sun.COM #define DBG_ISGZ_ZONENAME_ISNT_GLOBAL gettext(\ 2539781SMoriah.Waterland@Sun.COM "path <%s> is not a global zone: zone name <%s> is not <global>") 2549781SMoriah.Waterland@Sun.COM 2559781SMoriah.Waterland@Sun.COM #define DBG_ISGZ_PATH_IS_SYMLINK gettext(\ 2569781SMoriah.Waterland@Sun.COM "path <%s> is not a global zone: <%s> does not exist or exists but " \ 2579781SMoriah.Waterland@Sun.COM "is a symbolic link") 2589781SMoriah.Waterland@Sun.COM 2599781SMoriah.Waterland@Sun.COM #define DBG_INIM_INITIAL_INSTALL gettext(\ 2609781SMoriah.Waterland@Sun.COM "path <%s> is not a netinstall image: initial installation in progress") 2619781SMoriah.Waterland@Sun.COM 2629781SMoriah.Waterland@Sun.COM #define DBG_INIM_ZONE_INSTALL gettext(\ 2639781SMoriah.Waterland@Sun.COM "path <%s> is not a netinstall image: initial zone installation in progress") 2649781SMoriah.Waterland@Sun.COM 2659781SMoriah.Waterland@Sun.COM #define DBG_INIM_PATH_IS_NETINSTALL_IMAGE gettext(\ 2669781SMoriah.Waterland@Sun.COM "path <%s> is a netinstall image") 2679781SMoriah.Waterland@Sun.COM 2689781SMoriah.Waterland@Sun.COM #define DBG_INIM_BAD_CURRENT_ZONE gettext(\ 2699781SMoriah.Waterland@Sun.COM "path <%s> is not a netinstall image: current zone is not <%s>") 2709781SMoriah.Waterland@Sun.COM 2719781SMoriah.Waterland@Sun.COM #define DBG_INIM_PATH_ISNT_SYMLINK gettext(\ 2729781SMoriah.Waterland@Sun.COM "path <%s> is not a netinstall image: <%s> does not exist or exists " \ 2739781SMoriah.Waterland@Sun.COM "but is not a symbolic link") 2749781SMoriah.Waterland@Sun.COM 2759781SMoriah.Waterland@Sun.COM #define DBG_INIM_PATH_ISNT_DIRECTORY gettext(\ 2769781SMoriah.Waterland@Sun.COM "path <%s> is not a netinstall image: <%s> does not exist or " \ 2779781SMoriah.Waterland@Sun.COM "is not a directory") 2789781SMoriah.Waterland@Sun.COM 2799781SMoriah.Waterland@Sun.COM #define DBG_IMRT_INITIAL_INSTALL gettext(\ 2809781SMoriah.Waterland@Sun.COM "path <%s> is not a mounted miniroot image: initial installation in progress") 2819781SMoriah.Waterland@Sun.COM 2829781SMoriah.Waterland@Sun.COM #define DBG_IMRT_ZONE_INSTALL gettext(\ 2839781SMoriah.Waterland@Sun.COM "path <%s> is not a mounted miniroot image: initial zone " \ 2849781SMoriah.Waterland@Sun.COM "installation in progress") 2859781SMoriah.Waterland@Sun.COM 2869781SMoriah.Waterland@Sun.COM #define DBG_IMRT_PATH_IS_MOUNTED_MINIROOT gettext(\ 2879781SMoriah.Waterland@Sun.COM "path <%s> is a mounted miniroot") 2889781SMoriah.Waterland@Sun.COM 2899781SMoriah.Waterland@Sun.COM #define DBG_IMRT_BAD_CURRENT_ZONE gettext(\ 2909781SMoriah.Waterland@Sun.COM "path <%s> is not a mounted miniroot image: current zone is not <%s>") 2919781SMoriah.Waterland@Sun.COM 2929781SMoriah.Waterland@Sun.COM #define DBG_IMRT_ROOTDIR_BAD gettext(\ 2939781SMoriah.Waterland@Sun.COM "path <%s> is not a mounted miniroot image: root directory is not <%s>") 2949781SMoriah.Waterland@Sun.COM 2959781SMoriah.Waterland@Sun.COM #define DBG_IMRT_PATH_ISNT_SYMLINK gettext(\ 2969781SMoriah.Waterland@Sun.COM "path <%s> is not a mounted miniroot image: <%s> does not exist or is " \ 2979781SMoriah.Waterland@Sun.COM " not a symbolic link") 2989781SMoriah.Waterland@Sun.COM 2999781SMoriah.Waterland@Sun.COM #define DBG_IMRT_PATH_ISNT_DIRECTORY gettext(\ 3009781SMoriah.Waterland@Sun.COM "path <%s> is not a netinstall image: <%s> does not exist or is not " \ 3019781SMoriah.Waterland@Sun.COM " a directory") 3029781SMoriah.Waterland@Sun.COM 3039781SMoriah.Waterland@Sun.COM #define DBG_NGZN_INITIAL_INSTALL gettext(\ 3049781SMoriah.Waterland@Sun.COM "path <%s> is not a non-global zone: initial installation in progress") 3059781SMoriah.Waterland@Sun.COM 3069781SMoriah.Waterland@Sun.COM #define DBG_NGZN_GLOBAL_ZONE_INSTALL gettext(\ 3079781SMoriah.Waterland@Sun.COM "path <%s> is not a non-global zone: initial global zone " \ 3089781SMoriah.Waterland@Sun.COM "installation in progress") 3099781SMoriah.Waterland@Sun.COM 3109781SMoriah.Waterland@Sun.COM #define DBG_NGZN_IN_GZ_IS_NONGLOBAL_ZONE gettext(\ 3119781SMoriah.Waterland@Sun.COM "path <%s> is a non-global zone: running in global zone") 3129781SMoriah.Waterland@Sun.COM 3139781SMoriah.Waterland@Sun.COM #define DBG_NGZN_PARENT_CHILD_SAMEZONE gettext(\ 3149781SMoriah.Waterland@Sun.COM "path <%s> is a non-global zone: parent/child are same zone name <%s>") 3159781SMoriah.Waterland@Sun.COM 3169781SMoriah.Waterland@Sun.COM #define DBG_NGZN_IS_NONGLOBAL_ZONE gettext(\ 3179781SMoriah.Waterland@Sun.COM "path <%s> is a non-global zone") 3189781SMoriah.Waterland@Sun.COM 3199781SMoriah.Waterland@Sun.COM #define DBG_NGZN_ZONENAME_ISNT_NGZ gettext(\ 3209781SMoriah.Waterland@Sun.COM "path <%s> is not a non-global zone: zone name is <%s>") 3219781SMoriah.Waterland@Sun.COM 3229781SMoriah.Waterland@Sun.COM #define DBG_NGZN_INSTALL_ZONENAME_IS_NGZ gettext(\ 3239781SMoriah.Waterland@Sun.COM "path <%s> is a non-global zone: installation of non-global zone name is <%s>") 3249781SMoriah.Waterland@Sun.COM 3259781SMoriah.Waterland@Sun.COM #define DBG_NGZN_ZONENAME_IS_NGZ gettext(\ 3269781SMoriah.Waterland@Sun.COM "path <%s> is a non-global zone: zone name is <%s>") 3279781SMoriah.Waterland@Sun.COM 3289781SMoriah.Waterland@Sun.COM #define DBG_NGZN_PATH_EXISTS gettext(\ 3299781SMoriah.Waterland@Sun.COM "path <%s> is not a non-global zone: <%s> exists") 3309781SMoriah.Waterland@Sun.COM 3319781SMoriah.Waterland@Sun.COM #define DBG_NGZN_BAD_PARENT_ZONETYPE gettext(\ 3329781SMoriah.Waterland@Sun.COM "path <%s> is not a non-global zone: parent zone type is <%s>") 3339781SMoriah.Waterland@Sun.COM 3349781SMoriah.Waterland@Sun.COM #define DBG_NGZN_BAD_CURRENT_ZONETYPE gettext(\ 3359781SMoriah.Waterland@Sun.COM "path <%s> is not a non-global zone: current zone type is <%s>") 3369781SMoriah.Waterland@Sun.COM 3379781SMoriah.Waterland@Sun.COM #define DBG_NGZN_PATH_DOES_NOT_EXIST gettext(\ 3389781SMoriah.Waterland@Sun.COM "path <%s> is not a non-global zone: <%s> does not exist or exists but " \ 3399781SMoriah.Waterland@Sun.COM "is a symbolic link") 3409781SMoriah.Waterland@Sun.COM 3419781SMoriah.Waterland@Sun.COM #define DBG_IRST_INITIAL_INSTALL gettext(\ 3429781SMoriah.Waterland@Sun.COM "path <%s> is not the current running system: initial installation in progress") 3439781SMoriah.Waterland@Sun.COM 3449781SMoriah.Waterland@Sun.COM #define DBG_IRST_ZONE_INSTALL gettext(\ 3459781SMoriah.Waterland@Sun.COM "path <%s> is not the current running system: initial zone installation " \ 3469781SMoriah.Waterland@Sun.COM "in progress") 3479781SMoriah.Waterland@Sun.COM 3489781SMoriah.Waterland@Sun.COM #define DBG_IRST_PATH_IS_RUNNING_SYSTEM gettext(\ 3499781SMoriah.Waterland@Sun.COM "path <%s> is a running system") 3509781SMoriah.Waterland@Sun.COM 3519781SMoriah.Waterland@Sun.COM #define DBG_IRST_ZONE_BAD gettext(\ 3529781SMoriah.Waterland@Sun.COM "path <%s> is not the current running system: the current zone name " \ 3539781SMoriah.Waterland@Sun.COM " is not <%s>") 3549781SMoriah.Waterland@Sun.COM 3559781SMoriah.Waterland@Sun.COM #define DBG_IRST_ROOTPATH_BAD gettext(\ 3569781SMoriah.Waterland@Sun.COM "path <%s> is not the current running system: root path is not <%s>") 3579781SMoriah.Waterland@Sun.COM 3589781SMoriah.Waterland@Sun.COM #define DBG_IALR_INITIAL_INSTALL gettext(\ 3599781SMoriah.Waterland@Sun.COM "path <%s> is an alternative root: initial installation in progress") 3609781SMoriah.Waterland@Sun.COM 3619781SMoriah.Waterland@Sun.COM #define DBG_IALR_ZONE_INSTALL gettext(\ 3629781SMoriah.Waterland@Sun.COM "path <%s> is not an alternative root: initial zone installation in progress") 3639781SMoriah.Waterland@Sun.COM 3649781SMoriah.Waterland@Sun.COM #define DBG_IALR_PATH_DOES_NOT_EXIST gettext(\ 3659781SMoriah.Waterland@Sun.COM "path <%s> is not an alternative root: <%s> does not exist or exists but " \ 3669781SMoriah.Waterland@Sun.COM "is a symbolic link") 3679781SMoriah.Waterland@Sun.COM 3689781SMoriah.Waterland@Sun.COM #define DBG_IALR_BAD_ROOTPATH gettext(\ 3699781SMoriah.Waterland@Sun.COM "path <%s> is not an alternative root: root directory is <%s>") 3709781SMoriah.Waterland@Sun.COM 3719781SMoriah.Waterland@Sun.COM #define DBG_IALR_IS gettext(\ 3729781SMoriah.Waterland@Sun.COM "root path <%s> is an alternative root") 3739781SMoriah.Waterland@Sun.COM 3749781SMoriah.Waterland@Sun.COM #define DBG_WRNG_IS gettext(\ 3759781SMoriah.Waterland@Sun.COM "root path <%s> is a whole root non-global zone") 3769781SMoriah.Waterland@Sun.COM 3779781SMoriah.Waterland@Sun.COM #define DBG_BENV_INITIAL_INSTALL gettext(\ 3789781SMoriah.Waterland@Sun.COM "path <%s> is not an alternative boot environment: initial " \ 3799781SMoriah.Waterland@Sun.COM "installation in progress") 3809781SMoriah.Waterland@Sun.COM 3819781SMoriah.Waterland@Sun.COM #define DBG_BENV_ZONE_INSTALL gettext(\ 3829781SMoriah.Waterland@Sun.COM "path <%s> is not an alternative boot environment: initial zone " \ 3839781SMoriah.Waterland@Sun.COM "installation in progress") 3849781SMoriah.Waterland@Sun.COM 3859781SMoriah.Waterland@Sun.COM #define DBG_BENV_IS gettext(\ 3869781SMoriah.Waterland@Sun.COM "path <%s> is an alternative boot environment") 3879781SMoriah.Waterland@Sun.COM 3889781SMoriah.Waterland@Sun.COM #define DBG_BENV_NO_ETCLU gettext(\ 3899781SMoriah.Waterland@Sun.COM "path <%s> is not an alternative boot environment: <%s> does " \ 3909781SMoriah.Waterland@Sun.COM "not exist or is not a directory") 3919781SMoriah.Waterland@Sun.COM 3929781SMoriah.Waterland@Sun.COM #define DBG_BENV_NO_ETCLUTAB gettext(\ 3939781SMoriah.Waterland@Sun.COM "path <%s> is not an alternative boot environment: <%s> does not exist") 3949781SMoriah.Waterland@Sun.COM 3959781SMoriah.Waterland@Sun.COM #define DBG_BENV_BAD_ZONE gettext(\ 3969781SMoriah.Waterland@Sun.COM "path <%s> is not an alternative boot environment: " \ 3979781SMoriah.Waterland@Sun.COM "the current zone name is not <%s>") 3989781SMoriah.Waterland@Sun.COM 3999781SMoriah.Waterland@Sun.COM #define DBG_BENV_BAD_ROOTPATH gettext(\ 4009781SMoriah.Waterland@Sun.COM "path <%s> is not an alternative boot environment: root directory is <%s>") 4019781SMoriah.Waterland@Sun.COM 4029781SMoriah.Waterland@Sun.COM #define DBG_PWRT_READONLY gettext(\ 4039781SMoriah.Waterland@Sun.COM "root path <%s> is not writeable: is read only <%s>") 4049781SMoriah.Waterland@Sun.COM 4059781SMoriah.Waterland@Sun.COM #define DBG_PWRT_IS gettext(\ 4069781SMoriah.Waterland@Sun.COM "root path <%s> is writeable") 4079781SMoriah.Waterland@Sun.COM 4089781SMoriah.Waterland@Sun.COM #define DBG_PWRT_INFO gettext(\ 4099781SMoriah.Waterland@Sun.COM "root path <%s> is mount point <%s> fstype <%s> options <%s>") 4109781SMoriah.Waterland@Sun.COM 4119781SMoriah.Waterland@Sun.COM #define DBG_NO_GLOBAL_DATA_AVAILABLE gettext(\ 4129781SMoriah.Waterland@Sun.COM "no global data available in environment variable <%s>") 4139781SMoriah.Waterland@Sun.COM 4149781SMoriah.Waterland@Sun.COM #define DBG_CKSR_FSREADONLY gettext(\ 4159781SMoriah.Waterland@Sun.COM "file system <%s> type <%s> is read-only") 4169781SMoriah.Waterland@Sun.COM 4179781SMoriah.Waterland@Sun.COM #define DBG_CALCSCFG_MOUNTED gettext(\ 4189781SMoriah.Waterland@Sun.COM "analyzing mounted file systems") 4199781SMoriah.Waterland@Sun.COM 4209781SMoriah.Waterland@Sun.COM #define DBG_SINS_ENTRY gettext(\ 4219781SMoriah.Waterland@Sun.COM "inserting mount point <%s> type <%s> options <%s>") 4229781SMoriah.Waterland@Sun.COM 4239781SMoriah.Waterland@Sun.COM #define DBG_NGZN_PATH_EXISTS gettext(\ 4249781SMoriah.Waterland@Sun.COM "path <%s> is not a non-global zone: <%s> exists") 4259781SMoriah.Waterland@Sun.COM 4269781SMoriah.Waterland@Sun.COM #define DBG_CMDLINE_PATH gettext(\ 4279781SMoriah.Waterland@Sun.COM "command line path to check set to: <%s>") 4289781SMoriah.Waterland@Sun.COM 4299781SMoriah.Waterland@Sun.COM /* warnings */ 4309781SMoriah.Waterland@Sun.COM 4319781SMoriah.Waterland@Sun.COM #define WRN_PARSED_DATA_MISSING gettext(\ 4329781SMoriah.Waterland@Sun.COM "available global data missing <%s>") 4339781SMoriah.Waterland@Sun.COM 4349781SMoriah.Waterland@Sun.COM /* errors */ 4359781SMoriah.Waterland@Sun.COM 4369781SMoriah.Waterland@Sun.COM #define MSG_FATAL gettext(\ 4379781SMoriah.Waterland@Sun.COM "Fatal Error") 4389781SMoriah.Waterland@Sun.COM 4399781SMoriah.Waterland@Sun.COM #define ERR_REQUIRED_ROOTPATH_MISSING gettext(\ 4409781SMoriah.Waterland@Sun.COM "the <%s> condition requires a root path to be specified") 4419781SMoriah.Waterland@Sun.COM 4429781SMoriah.Waterland@Sun.COM #define ERR_CANNOT_GET_ZONENAME gettext(\ 4439781SMoriah.Waterland@Sun.COM "could not determine zone name") 4449781SMoriah.Waterland@Sun.COM 4459781SMoriah.Waterland@Sun.COM #define ERR_CANNOT_CALC_FS_CONFIG gettext(\ 4469781SMoriah.Waterland@Sun.COM "cannot calculate file system config") 4479781SMoriah.Waterland@Sun.COM 4489781SMoriah.Waterland@Sun.COM #define ERR_CANNOT_PARSE_GLOBAL_DATA gettext(\ 4499781SMoriah.Waterland@Sun.COM "cannot parse global data SML: <%s>") 4509781SMoriah.Waterland@Sun.COM 4519781SMoriah.Waterland@Sun.COM #define ERR_UNRECOGNIZED_OPTION gettext(\ 4529781SMoriah.Waterland@Sun.COM "unrecognized option <%s>") 4539781SMoriah.Waterland@Sun.COM 4549781SMoriah.Waterland@Sun.COM #define ERR_DEFAULT_ROOT_INVALID gettext(\ 4559781SMoriah.Waterland@Sun.COM "cannot set root path to <%s>: %s") 4569781SMoriah.Waterland@Sun.COM 4579781SMoriah.Waterland@Sun.COM #define ERR_DEFAULT_ROOT_NOT_DIR gettext(\ 4589781SMoriah.Waterland@Sun.COM "cannot set root path to <%s>: not a directory") 4599781SMoriah.Waterland@Sun.COM 4609781SMoriah.Waterland@Sun.COM #define ERR_CANNOT_SET_ROOT_PATH gettext(\ 4619781SMoriah.Waterland@Sun.COM "cannot set root path from environment variable <%s>") 4629781SMoriah.Waterland@Sun.COM 4639781SMoriah.Waterland@Sun.COM #define ERR_CANNOT_USE_GLOBAL_DATA gettext(\ 4649781SMoriah.Waterland@Sun.COM "global data from environment variable <%s> cannot be used to determine " \ 4659781SMoriah.Waterland@Sun.COM "conditions and capabilities") 4669781SMoriah.Waterland@Sun.COM 4679781SMoriah.Waterland@Sun.COM #define ERR_BAD_SUB gettext(\ 4689781SMoriah.Waterland@Sun.COM "\"%s\" is not a valid condition") 4699781SMoriah.Waterland@Sun.COM 4709781SMoriah.Waterland@Sun.COM #ifdef __cplusplus 4719781SMoriah.Waterland@Sun.COM } 4729781SMoriah.Waterland@Sun.COM #endif 4739781SMoriah.Waterland@Sun.COM 4749781SMoriah.Waterland@Sun.COM #endif /* _PKGCOND_MSGS_H */ 475