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