ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami#
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# CDDL HEADER START
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami#
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# The contents of this file are subject to the terms of the
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# Common Development and Distribution License (the "License").
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# You may not use this file except in compliance with the License.
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami#
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# or http://www.opensolaris.org/os/licensing.
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# See the License for the specific language governing permissions
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# and limitations under the License.
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami#
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# When distributing Covered Code, include this CDDL HEADER in each
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# If applicable, add the following below this CDDL HEADER, with the
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# fields enclosed by brackets "[]" replaced with your own identifying
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# information: Portions Copyright [yyyy] [name of copyright owner]
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami#
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# CDDL HEADER END
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami#
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami#
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami#
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ _START_
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# Message file for cmd/sgs/ar.
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_ID_AR
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_USAGE "usage: ar -d[-SvV] archive file ...\n \
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami ar -m[-abiSvV] [posname] archive file ...\n \
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami ar -p[-vV][-sS] archive [file ...]\n \
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami ar -q[-cuvSV] [-abi] [posname] [file ...]\n \
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami ar -r[-cuvSV] [-abi] [posname] [file ...]\n \
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami ar -t[-vV][-sS] archive [file ...]\n \
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami ar -x[-vV][-sSCT] archive [file ...]\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_MALLOC "ar: could not allocate memory: %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_TOOBIG4G "ar: archive size exceeds capabilities of 32-bit \
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami process\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_USAGE_01 "ar: one of [drqtpmx] must be specified\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_USAGE_02 "ar: -%c requires an operand\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_USAGE_03 "ar: bad option: -%c\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_USAGE_04 "ar: only one of [drqtpmx] allowed\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_USAGE_05 "ar: abi not allowed with q\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_USAGE_06 "ar: %s taken as mandatory 'posname' with keys 'abi'\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_INTERNAL_01 "ar: internal error: cannot tell whether file is \
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami included in archive or not\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_INTERNAL_02 "ar: internal header generation error\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_SYS_OPEN "ar: cannot open %s: %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_SYS_CLOSE "ar: cannot close %s: %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_SYS_WRITE "ar: %s: cannot write: %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_SYS_STAT "ar: cannot stat %s: %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_SYS_RENAME "ar: cannot rename %s to %s: %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_NOT_FOUND_AR "ar: archive %s not found\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_NOT_FOUND_POSNAM "ar: posname %s: not found\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_NOT_FOUND_FILE "ar: %s not found\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_ELF_LIB_FILE "ar: %s caused libelf error: %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_ELF_LIB_AR "ar: %s(%s) libelf error: %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_ELF_BEGIN_FILE "ar: cannot elf_begin() %s: %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_ELF_GETDATA_FILE "ar: %s has bad elf format: %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_ELF_GETDATA_AR "ar: %s(%s) has bad elf format: %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_ELF_GETSCN_FILE "ar: %s has no section header or bad elf format: %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_ELF_GETSCN_AR "ar: %s(%s) has no section header or bad elf \
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami format: %s\n"
f0a0736fb13261a73aa20b1516bcc521f0fb7f15Richard Lowe@ MSG_ELF_GETSHSTRNDX_FILE "ar: %s has no string table index: %s\n"
f0a0736fb13261a73aa20b1516bcc521f0fb7f15Richard Lowe@ MSG_ELF_GETSHSTRNDX_AR "ar: %s(%s) has no string table index: %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_ELF_MALARCHIVE "ar: %s: offset %lld: malformed archive: %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_ELF_RAWFILE "ar: elf_rawfile() failed: %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_ELF_VERSION "ar: libelf.a out of date: %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_W_ELF_NODATA_FILE "ar: %s has no data in section header table\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_W_ELF_NODATA_AR "ar: %s(%s) has no data in section header table\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_BER_MES_CREATE "ar: creating %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_BER_MES_WRITE "ar: writing %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_SYMTAB_01 "ar: symbol table entry size is 0\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_SYMTAB_NOSTR_FILE "ar: %s has no string table for symbol names\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_SYMTAB_NOSTR_AR "ar: %s(%s) has no string table for symbol names\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_SYMTAB_NODAT_FILE "ar: %s has no data in string table\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_SYMTAB_NODAT_AR "ar: %s(%s) no data in string table\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_SYMTAB_ZDAT_FILE "ar: %s has no data in string table: size is 0\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_SYMTAB_ZDAT_AR "ar: %s(%s) no data in string table: size is 0\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_PATHCONF "ar: -T failed to calculate file name length: %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_LOCALTIME "ar: don't have enough space to store the date\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_NOT_ARCHIVE "ar: %s not in archive format\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_OVERRIDE_WARN "ar: %s already exists. Will not be extracted\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_ERR_LONGSTRTBLSZ "ar: archive format limit: long name string table \
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami would exceed 4GB\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_ERR_MEMBER4G "ar: archive format limit: individual archive \
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami members are limited to 4GB: %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ _END_
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# The following strings represent reserved words, files, pathnames and symbols.
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# Reference to this strings is via the MSG_ORIG() macro, and thus no message
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# translation is required.
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_STR_OPTIONS ":a:b:i:vucsrdxtplmqVCTzMS"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_SUNW_OST_SGS "SUNW_OST_SGS"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_STR_EMPTY ""
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_STR_HYPHEN "-"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_STR_PERIOD "."
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_STR_LCR "r"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_STR_SLASH "/"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_STR_DSLASH "//"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_STR_SYM64 "/SYM64/"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# Format for full member header
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami#
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_MH_FORMAT "%-16s%-12d%-6u%-6u%-8o%-10lld%-2s"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_FMT_VERSION "ar: %s %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_FMT_P_TITLE "\n<%s>\n\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_FMT_T_IDSZ "%6d/%6d%7lld"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_FMT_T_DATE "%b %e %H:%M %Y"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_FMT_SPSTRSP " %s "
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_FMT_STRNL "%s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_FMT_FILE "%c - %s\n"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_FMT_LLINT "/%lld"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_CMD_SWAP "/usr/sbin/swap -s"
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami# Template for use with mktemp()
ba7866cd2cbdf574f47d4e38a1301b90744dd677Ali Bahrami@ MSG_STR_MKTEMP "arXXXXXX"