message.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _MESSAGE_H
#define _MESSAGE_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
#define CANNOT_BE_USED \
gettext("Pattern '%s' cannot be used with device '%s:%s'\n")
#define ALIAS_TOO_LONG \
gettext("alias name is too long; must be %d characters or less: %s\n")
#define MAJOR_AND_B_FLAG \
gettext("must specify major number and driver name when using the -b flag\n")
#define MODCTL_ADDMAJBIND \
gettext("modctl failed to add major number binding.\n")
#define IGNORING_ENTRY \
gettext("ignoring devfsadm_create entry #%d in module %s\n")
#define CANT_CREATE_ZONE_DOOR \
gettext("can not create zone registration door %s: %s\n")
#define MAX_ATTEMPTS \
gettext("cannot create link: %s -> %s. max attempts exceeded\n")
#define SUPER_TO_SYNC \
gettext("you must be superuser to sync /etc/path_to_inst\n")
#define MISSING_TAB \
gettext("line %d: configuration file %s has a missing tab -- ignoring\n")
#define MISSING_DEVNAME \
gettext("line %d: configuration file %s has a missing dev name field -- \
ignoring\n")
#define TOO_MANY_FIELDS \
gettext("line %d: configuration file %s has too many fields -- ignoring\n")
#define LINE_TOO_LONG \
gettext("Line %d too long in configuration file %s -- should be less \
than %d characters\n")
#define UNRECOGNIZED_KEY \
gettext("unrecognized keyword '%s' -- ignoring line %d of file %s\n")
#define MISSING_EQUAL \
gettext("missing '=' in devfs_spec field line %d from file %s\n")
#define CONFIG_INCORRECT \
gettext("line %d: configuration file %s incorrect: %s -- ignoring\n")
-r root_directory ]\n\t\t[ -n ]\n\t\t[ -v ]\n")
root_directory ]\n\t\t[ -t table-file ]\n\t\t[ -v ]\n")
\n\t\t[ -c class_name ]\n\t\t[ -d ]\n\t\t[ -i driver_name ]\n\t\t[ -m \
major_number ]\n\t\t[ -n ]\n\t\t[ -r rootdir ]\n\t\t[ -v ]\n")
\n\t\t[ -i driver_name ]\n\t\t[ -l module_path ]\n\t\t[ -n ]\
\n\t\t[ -r rootdir ]\n\t\t[ -s ]\n\t\t[ -t devlink_table_file ]\n\t\t[ -v ]\n")
#define RCM_NOTIFY_FAILED \
gettext("RCM notification failed: " \
"path = %s, driver = %s, instance = %d: %s\n")
#define RCM_NVLIST_BUILD_ERROR \
gettext("failed to build nvlist for notifying RCM: " \
"path = %s, driver = %s, instance = %d: %s\n")
#define EVENT_ATTR_LOOKUP_FAILED \
gettext("failed to lookup event attributes: %s\n")
#define PROP_ADD_FAILED \
gettext("failed to add the property %s to event attributes\n")
#define DEV_NAME_LOOKUP_FAILED \
gettext("failed to lookup dev name for %s\n")
#define BUILD_EVENT_ATTR_FAILED \
gettext("failed to build event attributes: %s\n")
#define ZONE_ROOTPATH_FAILED \
gettext("could not determine root path for zone %s: %s\n")
#define ZONE_LIST_FAILED \
gettext("could not determine system zone configuration: %s\n")
#define ZONE_DOOR_MKFAIL \
gettext("failed to create door server for zone %s: %s\n")
#define ZONE_REG_FAILED \
gettext("failed registration operation for zone %s: %s\n")
#define ZONE_REP_FAILED \
gettext("repository or name service failure for zone %s: %s\n")
#define ZONE_LIB_MISSING \
gettext("unable to load libzonecfg, make sure zone packages " \
"are installed\n")
#define ZONE_PATHCHECK \
gettext("cannot manage root path '%s': path is part of zone '%s'\n")
#ifdef __cplusplus
}
#endif
#endif /* _MESSAGE_H */