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