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