xref: /illumos-gate/usr/src/cmd/sgs/ar/common/ar.msg (revision ba7866cd2cbdf574f47d4e38a1301b90744dd677)
1*ba7866cdSAli Bahrami#
2*ba7866cdSAli Bahrami# CDDL HEADER START
3*ba7866cdSAli Bahrami#
4*ba7866cdSAli Bahrami# The contents of this file are subject to the terms of the
5*ba7866cdSAli Bahrami# Common Development and Distribution License (the "License").
6*ba7866cdSAli Bahrami# You may not use this file except in compliance with the License.
7*ba7866cdSAli Bahrami#
8*ba7866cdSAli Bahrami# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*ba7866cdSAli Bahrami# or http://www.opensolaris.org/os/licensing.
10*ba7866cdSAli Bahrami# See the License for the specific language governing permissions
11*ba7866cdSAli Bahrami# and limitations under the License.
12*ba7866cdSAli Bahrami#
13*ba7866cdSAli Bahrami# When distributing Covered Code, include this CDDL HEADER in each
14*ba7866cdSAli Bahrami# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*ba7866cdSAli Bahrami# If applicable, add the following below this CDDL HEADER, with the
16*ba7866cdSAli Bahrami# fields enclosed by brackets "[]" replaced with your own identifying
17*ba7866cdSAli Bahrami# information: Portions Copyright [yyyy] [name of copyright owner]
18*ba7866cdSAli Bahrami#
19*ba7866cdSAli Bahrami# CDDL HEADER END
20*ba7866cdSAli Bahrami#
21*ba7866cdSAli Bahrami
22*ba7866cdSAli Bahrami#
23*ba7866cdSAli Bahrami# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24*ba7866cdSAli Bahrami#
25*ba7866cdSAli Bahrami
26*ba7866cdSAli Bahrami@ _START_
27*ba7866cdSAli Bahrami
28*ba7866cdSAli Bahrami# Message file for cmd/sgs/ar.
29*ba7866cdSAli Bahrami
30*ba7866cdSAli Bahrami@ MSG_ID_AR
31*ba7866cdSAli Bahrami
32*ba7866cdSAli Bahrami@ MSG_USAGE		"usage: ar -d[-SvV] archive file ...\n       \
33*ba7866cdSAli Bahrami			 ar -m[-abiSvV] [posname] archive file ...\n       \
34*ba7866cdSAli Bahrami			 ar -p[-vV][-sS] archive [file ...]\n       \
35*ba7866cdSAli Bahrami			 ar -q[-cuvSV] [-abi] [posname] [file ...]\n       \
36*ba7866cdSAli Bahrami			 ar -r[-cuvSV] [-abi] [posname] [file ...]\n       \
37*ba7866cdSAli Bahrami			 ar -t[-vV][-sS] archive [file ...]\n       \
38*ba7866cdSAli Bahrami			 ar -x[-vV][-sSCT] archive [file ...]\n"
39*ba7866cdSAli Bahrami
40*ba7866cdSAli Bahrami@ MSG_MALLOC		"ar: could not allocate memory: %s\n"
41*ba7866cdSAli Bahrami@ MSG_TOOBIG4G		"ar: archive size exceeds capabilities of 32-bit \
42*ba7866cdSAli Bahrami			 process\n"
43*ba7866cdSAli Bahrami
44*ba7866cdSAli Bahrami@ MSG_USAGE_01		"ar: one of [drqtpmx] must be specified\n"
45*ba7866cdSAli Bahrami@ MSG_USAGE_02		"ar: -%c requires an operand\n"
46*ba7866cdSAli Bahrami@ MSG_USAGE_03		"ar: bad option: -%c\n"
47*ba7866cdSAli Bahrami@ MSG_USAGE_04		"ar: only one of [drqtpmx] allowed\n"
48*ba7866cdSAli Bahrami@ MSG_USAGE_05		"ar: abi not allowed with q\n"
49*ba7866cdSAli Bahrami@ MSG_USAGE_06		"ar: %s taken as mandatory 'posname' with keys 'abi'\n"
50*ba7866cdSAli Bahrami
51*ba7866cdSAli Bahrami@ MSG_INTERNAL_01	"ar: internal error: cannot tell whether file is \
52*ba7866cdSAli Bahrami			 included in archive or not\n"
53*ba7866cdSAli Bahrami@ MSG_INTERNAL_02	"ar: internal header generation error\n"
54*ba7866cdSAli Bahrami
55*ba7866cdSAli Bahrami@ MSG_SYS_OPEN		"ar: cannot open %s: %s\n"
56*ba7866cdSAli Bahrami@ MSG_SYS_CLOSE		"ar: cannot close %s: %s\n"
57*ba7866cdSAli Bahrami@ MSG_SYS_WRITE		"ar: %s: cannot write: %s\n"
58*ba7866cdSAli Bahrami@ MSG_SYS_STAT		"ar: cannot stat %s: %s\n"
59*ba7866cdSAli Bahrami@ MSG_SYS_RENAME	"ar: cannot rename %s to %s: %s\n"
60*ba7866cdSAli Bahrami
61*ba7866cdSAli Bahrami@ MSG_NOT_FOUND_AR	"ar: archive %s not found\n"
62*ba7866cdSAli Bahrami@ MSG_NOT_FOUND_POSNAM	"ar: posname %s: not found\n"
63*ba7866cdSAli Bahrami@ MSG_NOT_FOUND_FILE	"ar: %s not found\n"
64*ba7866cdSAli Bahrami
65*ba7866cdSAli Bahrami@ MSG_ELF_LIB_FILE	"ar: %s caused libelf error: %s\n"
66*ba7866cdSAli Bahrami@ MSG_ELF_LIB_AR	"ar: %s(%s) libelf error: %s\n"
67*ba7866cdSAli Bahrami@ MSG_ELF_BEGIN_FILE	"ar: cannot elf_begin() %s: %s\n"
68*ba7866cdSAli Bahrami@ MSG_ELF_GETDATA_FILE	"ar: %s has bad elf format: %s\n"
69*ba7866cdSAli Bahrami@ MSG_ELF_GETDATA_AR	"ar: %s(%s) has bad elf format: %s\n"
70*ba7866cdSAli Bahrami@ MSG_ELF_GETSCN_FILE	"ar: %s has no section header or bad elf format: %s\n"
71*ba7866cdSAli Bahrami@ MSG_ELF_GETSCN_AR	"ar: %s(%s) has no section header or bad elf \
72*ba7866cdSAli Bahrami			 format: %s\n"
73*ba7866cdSAli Bahrami@ MSG_ELF_MALARCHIVE	"ar: %s: offset %lld: malformed archive: %s\n"
74*ba7866cdSAli Bahrami@ MSG_ELF_RAWFILE	"ar: elf_rawfile() failed: %s\n"
75*ba7866cdSAli Bahrami@ MSG_ELF_VERSION	"ar: libelf.a out of date: %s\n"
76*ba7866cdSAli Bahrami@ MSG_W_ELF_NODATA_FILE	"ar: %s has no data in section header table\n"
77*ba7866cdSAli Bahrami@ MSG_W_ELF_NODATA_AR	"ar: %s(%s) has no data in section header table\n"
78*ba7866cdSAli Bahrami
79*ba7866cdSAli Bahrami@ MSG_BER_MES_CREATE	"ar: creating %s\n"
80*ba7866cdSAli Bahrami@ MSG_BER_MES_WRITE	"ar: writing %s\n"
81*ba7866cdSAli Bahrami
82*ba7866cdSAli Bahrami@ MSG_SYMTAB_01		"ar: symbol table entry size is 0\n"
83*ba7866cdSAli Bahrami@ MSG_SYMTAB_NOSTR_FILE	"ar: %s has no string table for symbol names\n"
84*ba7866cdSAli Bahrami@ MSG_SYMTAB_NOSTR_AR	"ar: %s(%s) has no string table for symbol names\n"
85*ba7866cdSAli Bahrami@ MSG_SYMTAB_NODAT_FILE	"ar: %s has no data in string table\n"
86*ba7866cdSAli Bahrami@ MSG_SYMTAB_NODAT_AR	"ar: %s(%s) no data in string table\n"
87*ba7866cdSAli Bahrami@ MSG_SYMTAB_ZDAT_FILE	"ar: %s has no data in string table: size is 0\n"
88*ba7866cdSAli Bahrami@ MSG_SYMTAB_ZDAT_AR	"ar: %s(%s) no data in string table: size is 0\n"
89*ba7866cdSAli Bahrami
90*ba7866cdSAli Bahrami
91*ba7866cdSAli Bahrami@ MSG_PATHCONF		"ar: -T failed to calculate file name length: %s\n"
92*ba7866cdSAli Bahrami@ MSG_LOCALTIME		"ar: don't have enough space to store the date\n"
93*ba7866cdSAli Bahrami@ MSG_NOT_ARCHIVE	"ar: %s not in archive format\n"
94*ba7866cdSAli Bahrami@ MSG_OVERRIDE_WARN	"ar: %s already exists. Will not be extracted\n"
95*ba7866cdSAli Bahrami
96*ba7866cdSAli Bahrami@ MSG_ERR_LONGSTRTBLSZ	"ar: archive format limit: long name string table \
97*ba7866cdSAli Bahrami			 would exceed 4GB\n"
98*ba7866cdSAli Bahrami@ MSG_ERR_MEMBER4G	"ar: archive format limit: individual archive \
99*ba7866cdSAli Bahrami			 members are limited to 4GB: %s\n"
100*ba7866cdSAli Bahrami
101*ba7866cdSAli Bahrami@ _END_
102*ba7866cdSAli Bahrami
103*ba7866cdSAli Bahrami# The following strings represent reserved words, files, pathnames and symbols.
104*ba7866cdSAli Bahrami# Reference to this strings is via the MSG_ORIG() macro, and thus no message
105*ba7866cdSAli Bahrami# translation is required.
106*ba7866cdSAli Bahrami
107*ba7866cdSAli Bahrami@ MSG_STR_OPTIONS	":a:b:i:vucsrdxtplmqVCTzMS"
108*ba7866cdSAli Bahrami@ MSG_SUNW_OST_SGS	"SUNW_OST_SGS"
109*ba7866cdSAli Bahrami
110*ba7866cdSAli Bahrami@ MSG_STR_EMPTY		""
111*ba7866cdSAli Bahrami@ MSG_STR_HYPHEN	"-"
112*ba7866cdSAli Bahrami@ MSG_STR_PERIOD	"."
113*ba7866cdSAli Bahrami@ MSG_STR_LCR		"r"
114*ba7866cdSAli Bahrami@ MSG_STR_SLASH		"/"
115*ba7866cdSAli Bahrami@ MSG_STR_DSLASH	"//"
116*ba7866cdSAli Bahrami@ MSG_STR_SYM64		"/SYM64/"
117*ba7866cdSAli Bahrami
118*ba7866cdSAli Bahrami# Format for full member header
119*ba7866cdSAli Bahrami#
120*ba7866cdSAli Bahrami@ MSG_MH_FORMAT		"%-16s%-12d%-6u%-6u%-8o%-10lld%-2s"
121*ba7866cdSAli Bahrami
122*ba7866cdSAli Bahrami@ MSG_FMT_VERSION	"ar: %s %s\n"
123*ba7866cdSAli Bahrami@ MSG_FMT_P_TITLE	"\n<%s>\n\n"
124*ba7866cdSAli Bahrami@ MSG_FMT_T_IDSZ	"%6d/%6d%7lld"
125*ba7866cdSAli Bahrami@ MSG_FMT_T_DATE	"%b %e %H:%M %Y"
126*ba7866cdSAli Bahrami@ MSG_FMT_SPSTRSP	" %s "
127*ba7866cdSAli Bahrami@ MSG_FMT_STRNL		"%s\n"
128*ba7866cdSAli Bahrami@ MSG_FMT_FILE		"%c - %s\n"
129*ba7866cdSAli Bahrami@ MSG_FMT_LLINT		"/%lld"
130*ba7866cdSAli Bahrami
131*ba7866cdSAli Bahrami@ MSG_CMD_SWAP		"/usr/sbin/swap -s"
132*ba7866cdSAli Bahrami
133*ba7866cdSAli Bahrami# Template for use with mktemp()
134*ba7866cdSAli Bahrami@ MSG_STR_MKTEMP	"arXXXXXX"
135