Lines Matching refs:_
37 #define _(x) gettext(x) macro
39 #define _(x) (x)
42 #define FILE_MISS _("file not found: %s\n")
44 #define ARCH_EXEC_MISS _("archive creation file not found: %s: %s\n")
46 #define PATH_EXEC_OWNER _("%s is not owned by %d, skipping\n")
48 #define PATH_EXEC_LINK _("%s is not a regular file, skipping\n")
50 #define PATH_EXEC_PERMS _("%s is others or group writable, skipping\n")
52 #define UPDATE_CACHE_OLD _("archive cache is out of sync. Rebuilding.\n")
54 #define MUST_BE_ROOT _("you must be root to run this command\n")
57 _("%s: not a boot archive based Solaris instance\n")
59 #define MULT_CMDS _("multiple commands specified: -%c\n")
61 #define INVALID_SUBCMD _("invalid sub-command specified: %s\n")
63 #define NEED_SUBCMD _("this command requires a sub-command\n")
65 #define NEED_CMD _("a command option must be specified\n")
67 #define DUP_OPT _("duplicate options specified: -%c\n")
69 #define BAD_OPT _("invalid option or missing option argument: -%c\n")
71 #define NO_OPT_REQ _("this sub-command (%s) does not take options\n")
73 #define MISS_OPT _("an option is required for this sub-command: %s\n")
75 #define ABS_PATH_REQ _("path is not absolute: %s\n")
78 _("unable to create path on mountpoint %s, path too long\n")
80 #define TOO_LONG _("the following line is too long (> %d chars)\n\t%s\n")
83 _("not a GRUB 0.97 based Illumos instance. Operation not supported\n")
85 #define NOT_GRUB_ROOT _("missing /boot/grub on root: %s\n")
88 _("an alternate root (%s) cannot be used with this sub-command\n")
90 #define NO_ENTRY _("no %s entry found\n")
92 #define NO_MATCH_ENTRY _("no matching entry found\n")
94 #define NO_BOOTADM_MATCH _("no matching bootadm entry found\n")
96 #define NO_MEM _("could not allocate memory: size = %u\n")
98 #define NO_SPARC _("%s operation unsupported on SPARC machines\n")
100 #define CANNOT_LOCATE_GRUB_MENU _("cannot find GRUB menu\n")
102 #define CANNOT_LOCATE_GRUB_MENU_FILE _("cannot find GRUB menu file: %s\n")
104 #define GRUB_MENU_PATH _("the location for the active GRUB menu is: %s\n")
106 #define STUBBOOT_DIR_NOT_FOUND _("cannot find stubboot directory\n")
108 #define NO_CMD _("no command at line %d\n")
111 _("duplicate command %s at line %d of %sboot/grub/menu.lst\n")
113 #define NO_MENU _("menu file not found: %s\n")
115 #define GLOBAL_CMD _("%s %s\n")
117 #define INVALID_ENTRY _("invalid boot entry number: %s\n")
119 #define INVALID_OPTION _("invalid option: %s\n")
121 #define SUBOPT_MISS _("missing suboption: %s\n")
123 #define NO_KERNEL _("no kernel line found in entry %d\n")
125 #define EMPTY_MENU _("the GRUB menu is empty\n")
127 #define UNLINK_EMPTY _("file is empty, deleting file: %s\n")
129 #define UNLINK_FAIL _("failed to unlink file: %s: %s\n")
131 #define NO_MATCH _("no matching entry found: %s\n")
133 #define INVALID_OPT _("invalid option: %s\n")
135 #define FAILED_SIG _("cannot set SIGCHLD disposition: %s\n")
137 #define CANT_UNBLOCK_SIGCHLD _("cannot unblock SIGCHLD: %s\n")
140 _("WARNING: file %s is neither a 32-bit nor a 64-bit ELF\n")
142 #define BLOCKED_SIG _("SIGCHLD signal blocked. Cannot exec: %s\n")
144 #define POPEN_FAIL _("popen failed: %s: %s\n")
146 #define PCLOSE_FAIL _("pclose failed: %s: %s\n")
148 #define EXEC_FAIL _("command terminated abnormally: %s: %d\n")
150 #define OPEN_FAIL _("failed to open file: %s: %s\n")
152 #define LOCK_FAIL _("failed to lock file: %s: %s\n")
154 #define UNLOCK_FAIL _("failed to unlock file: %s: %s\n")
156 #define TIMESTAMP_FAIL _("failed to update the timestamp file, next\
159 #define MMAP_FAIL _("failed to mmap file: %s: %s\n")
161 #define FILE_LOCKED _("another instance of bootadm (pid %lu) is running\n")
163 #define NO_FLIST _("archive filelist is empty\n")
165 #define CLOSE_FAIL _("failed to close file: %s: %s\n")
167 #define RENAME_FAIL _("rename to file failed: %s: %s\n")
169 #define NOT_IN_MNTTAB _("alternate root %s not in mnttab\n")
171 #define CANT_RESOLVE _("cannot resolve path %s: %s\n")
173 #define ROOT_ABS _("this sub-command doesn't take root arguments: %s\n")
175 #define ARCHIVE_FAIL _("boot-archive creation FAILED, command: '%s'\n")
178 _("Command '%s' failed while generating multisession archive\n")
180 #define INFILE_FAIL _("unable to read from %s: %s\n")
182 #define ARCHIVE_BAD _("archive file %s not generated correctly\n")
185 _("Failed to gather cache files, archives generation aborted\n")
187 #define BOOTBLK_FAIL _("unable to access bootblk file : %s\n")
189 #define WRITE_FAIL _("write to file failed: %s: %s\n")
191 #define GZ_WRITE_FAIL _("failed to write to %s\n")
193 #define STAT_FAIL _("stat of file failed: %s: %s\n")
195 #define PACK_FAIL _("failed to pack stat data: %s\n")
197 #define NVALLOC_FAIL _("failed to create stat data: %s\n")
199 #define NVADD_FAIL _("failed to update stat data for: %s: %s\n")
202 _("create_diskmap command failed for OS root: %s.\n")
205 _("not using biosdev command for disk: %s.\n")
208 _("the check option is not supported with subcmd: %s\n")
210 #define PARSEABLE_NEW_FILE _(" new %s\n")
212 #define PARSEABLE_OUT_DATE _(" changed %s\n")
214 #define PARSEABLE_STALE_FILE _(" stale %s\n")
216 #define UPDATE_FORCE _("forced update of archive requested\n")
218 #define NO_NEW_STAT _("cannot create new stat data\n")
220 #define UPDATE_ARCH_MISS _("archive not found: %s\n")
222 #define UPDATE_CDIR_MISS _("archive cache directory not found: %s\n")
225 _("archive %s is bigger than %d bytes and will be rebuilt\n")
227 #define READ_FAIL _("read failed for file: %s: %s\n")
229 #define UNPACK_FAIL _("failed to unpack stat data: %s: %s\n")
231 #define NFTW_FAIL _("cannot find: %s: %s\n")
233 #define SIGN_FAIL _("iso descriptor signature for %s is invalid\n")
235 #define STATVFS_FAIL _("statvfs failed for %s: %s\n")
237 #define IS_RAMDISK _("%s is on a ramdisk device\n")
239 #define PRINT _("%s\n")
241 #define PRINT_TITLE _("%d %s\n")
243 #define INT_ERROR _("Internal error: %s\n")
246 _("getpwnam: uid for %s failed, defaulting to %d\n")
249 _("getgrnam: gid for %s failed, defaulting to %d\n")
251 #define CHMOD_FAIL _("chmod operation on %s failed - %s\n")
253 #define CHOWN_FAIL _("chgrp operation on %s failed - %s\n")
255 #define MISSING_SLICE_FILE _("GRUB slice file %s missing: %s\n")
257 #define MKDIR_FAILED _("mkdir of %s failed: %s\n")
259 #define MOUNT_FAILED _("mount of %s (fstype %s) failed\n")
261 #define MOUNT_MNTPT_FAILED _("mount at %s failed\n")
263 #define UMOUNT_FAILED _("umount of %s failed\n")
265 #define CANNOT_RESTORE_GRUB_SLICE _("cannot restore GRUB slice\n")
267 #define RESTORE_GRUB_FAILED _("cannot restore GRUB loader\n")
269 #define MISSING_BACKUP_MENU _("no backup menu %s: %s\n")
271 #define RESTORE_MENU_FAILED _("cannot restore menu %s\n")
273 #define MISSING_ROOT_FILE _("file missing: %s: %s\n")
275 #define BAD_ROOT_FILE _("file is invalid: %s\n")
277 #define TRAILING_ARGS _("invalid trailing arguments\n")
280 _("No GRUB installation found. Restoring GRUB from backup\n")
283 _("Cannot update menu. Cannot reboot with requested arguments\n")
286 _("Deferred FDISK update file(s) found: %s, %s. Not supported.\n")
288 #define UNKNOWN_KERNEL _("unable to expand %s to a full file path.\n")
291 _("Rebooting with default kernel and options.\n")
294 _("bootadm set-menu %s may only be run on directboot kernels.\n")
296 #define DEFAULT_NOT_BAM _( \
300 _("unable to find default boot entry (%d) in menu.lst file.\n")
303 _("kernel command on line %d not recognized.\n")
306 _("module command on line %d not recognized.\n")
309 _("findroot in default boot entry (%d) missing.\n")
312 _("kernel$ in default boot entry (%d) missing.\n")
315 _("kernel$ in default boot entry (%d) missing or not parseable.\n")
318 _("module$ in default boot entry (%d) missing or not parseable.\n")
320 #define NOT_ELF_FILE _("%s is not an ELF file.\n")
322 #define WRONG_ELF_CLASS _("%s is wrong ELF class 0x%x\n")
325 _("bootadm -m upgrade run, but the failsafe archives have not been\n\
329 _("invalid platform %s - must be one of sun4u, sun4v or i86pc\n")
331 #define FDISKPART_FAIL _("failed to determine fdisk partition: %s\n")
333 #define INVALID_MHASH_KEY _("invalid key for mnttab hash: %s\n")
335 #define INVALID_UFS_SIGNATURE _("invalid UFS boot signature: %s\n")
338 _("failed to write signature %s to signature list: %s\n")
340 #define SIGNATURE_LIST_EXISTS _(" - signature list %s exists\n")
342 #define OPENDIR_FAILED _("opendir of %s failed: %s\n")
344 #define GRUBSIGN_SORT_FAILED _("error sorting GRUB UFS boot signatures\n")
346 #define SEARCHING_UFS_SIGN _(" - searching for UFS boot signatures\n")
348 #define ERR_FIND_UFS_SIGN _("search for UFS boot signatures failed\n")
350 #define UFS_SIGNATURE_LIST_MISS _("missing UFS signature list file: %s\n")
353 _("error opening UFS boot signature list file %s: %s\n")
355 #define UFS_BADSIGN _("bad UFS boot signature: %s\n")
358 _("error opening boot signature backup file %s: %s\n")
361 _("error writing boot signature backup file %s: %s\n")
364 _("updated boot signature backup file %s\n")
367 _("error creating primary boot signature %s: %s\n")
370 _("error syncing primary boot signature %s: %s\n")
373 _("created primary GRUB boot signature: %s\n")
376 _("failed to create GRUB boot signature for device: %s\n")
379 _("failed to write GRUB boot signature for device: %s\n")
381 #define GRUBSIGN_UFS_NONE _(" - no existing UFS boot signatures\n")
383 #define GRUBSIGN_NOTSUP _("boot signature not supported for fstype: %s\n")
386 _("error creating boot signature directory %s: %s\n")
388 #define NOT_UFS_SLICE _("%s is not a ufs slice: %s\n")
390 #define FSTYP_FAILED _("fstyp failed for slice: %s\n")
392 #define FSTYP_BAD _("bad output from fstyp for slice: %s\n")
394 #define ZFS_MOUNT_FAILED _("mount of ZFS pool %s failed\n")
397 _("failed to determine mount point of ZFS pool %s\n")
399 #define NULL_ZFS_MNTPT _("ZFS pool %s has no mount-point\n")
401 #define BAD_ZFS_MNTPT _("ZFS pool %s has bad mount-point %s\n")
403 #define NULL_ZFS_MNTPT _("ZFS pool %s has no mount-point\n")
405 #define BAD_ZFS_MNTED _("ZFS pool %s has bad mount status\n")
408 _("failed to determine mount status of ZFS pool %s\n")
411 _("Internal error: bad saved mount state for pool %s\n")
413 #define FSTYP_A_FAILED _("fstyp -a on device %s failed\n")
415 #define NULL_FSTYP_A _("NULL fstyp -a output for device %s\n")
417 #define BAD_FSTYP_A _("bad fstyp -a output for device %s\n")
419 #define INVALID_UFS_SIGN _("invalid UFS boot signature %s\n")
421 #define CANT_FIND_SPECIAL _("cant find special file for mount-point %s\n")
423 #define CANT_FIND_POOL _("cant find pool for mount-point %s\n")
425 #define NULL_FINDROOT _("can't find argument for findroot command\n")
427 #define INVALID_DEV_DSK _("not a /dev/[r]dsk name: %s\n")
429 #define CVT_FINDROOT _("converting entries to findroot...\n")
431 #define CVT_HV _("adding xVM entries...\n")
433 #define CVT_DBOOT _("converting entries to dboot...\n")
436 _("automated downgrade of GRUB menu to older version not supported.\n")
438 #define CANT_FIND_GRUBSIGN _("cannot find GRUB signature for %s\n")
441 _("one or more GRUB menu entries were not automatically upgraded\n\
445 _("error upgrading GRUB menu entries on %s. Aborting.\n\
449 _("default entry already setup for use with the hypervisor!\n")
452 _("error converting GRUB menu entry on %s for use with the hypervisor.\n\
456 _("default entry already setup for use with a metal kernel!\n")
459 _("error converting GRUB menu entry on %s for use with a metal kernel.\n\
463 _("bootadm(1M) will only upgrade GRUB menu entries added by \n\
468 _("found mismatched boot signature %s for filesystem type: %s.\n")
471 _("failed to determine filesystem type for \"/\". Reboot with \n\
475 _("failed to find device special file for \"/\". Reboot with \n\
479 _("failed to find boot signature. Reboot with arguments failed.\n")
482 _("the root filesystem is not a dboot Solaris instance. \n\
486 _("cannot determine filesystem type for \"/\".\n\
490 _("cannot determine device special file for \"/\".\n\
494 _("cannot determine boot signature for \"/\".\n\
498 _("unsupported GRUB slice file (%s) exists - ignoring.\n")
501 _("found or created GRUB signature %s for %s\n")
503 #define GET_FSTYPE_ARGS _("no OS mountpoint. Cannot determine fstype\n")
506 _("failed to find OS mountpoint %s in %s\n")
508 #define MNTTAB_FSTYPE_NULL _("NULL fstype found for OS root %s\n")
510 #define MISSING_ARG _("missing argument for sub-command\n")
512 #define INVALID_BINARY _("invalid or corrupted binary: %s\n")
514 #define PCFS_ROOT_NOTSUP _("root <%s> on PCFS is not supported\n")
516 #define NO_O_OSROOT _("OS root not specified with -o option: %s\n")
519 _("%s filesystem is read-only, skipping archives update\n")
521 #define RDONLY_TEST_ERROR _("error during read-only test on %s: %s\n")
524 _("cannot get (hd?,?,?) for menu. menu not on bootdisk: %s\n")
527 _("cannot determine BIOS disk ID 'hd?' for disk: %s\n")
529 #define CACHE_MNTTAB_FAIL _("%s: failed to cache /etc/mnttab\n")
531 #define FAILED_ADD_SIGNLIST _("failed to add sign %s to signlist.\n")
533 #define GRUBSIGN_BACKUP_MKDIRERR _("mkdirp() of backup dir failed: %s: %s\n")
535 #define GET_POOL_FAILED _("failed to get pool name from %s\n")
537 #define FAIL_MNT_TOP_DATASET _("failed to mount top dataset for %s\n")
539 #define PRIMARY_SIGN_EXISTS _("primary sign %s exists\n")
541 #define SET_BACKUP_FAILED _("failed to set backup sign (%s) for %s: %s\n")
544 _("failed to set primary sign (%s) for %s: %s\n")
546 #define GET_FSTYPE_FAILED _("failed to get fstype for %s\n")
549 _("cannot get special file: NULL mount-point\n")
552 _("cannot get special file for mount-point: %s\n")
555 _("cannot get physical device special file for menu root: %s\n")
558 _("failed to get grubsign for root: %s, device %s\n")
561 _("failed to add boot entry with title=%s, grub signature=%s\n")
563 #define SET_DEFAULT_FAILED _("failed to set GRUB menu default to %d\n")
566 _("reboot with arguments: error querying current boot-file settings\n")
569 _("reboot with arguments: error querying current boot-args settings\n")
572 _("reboot with arguments: setting GRUB menu default to %d failed\n")
574 #define GET_SET_KERNEL_ADD_BOOT_ENTRY _("failed to add boot entry: %s\n")
576 #define GET_SET_KERNEL_SET_GLOBAL _("failed to set default to: %d\n")
578 #define NO_OPTION_ARG _("option has no argument: %s\n")
581 _("cannot mount pool dataset for pool: %s\n")
583 #define ZFS_GET_POOL_FAILED _("failed to get pool for device: %s\n")
586 _("failed to mount top dataset for pool: %s\n")
588 #define GET_POOL_OSDEV_NULL _("NULL device: cannot determine pool name\n")
591 _("invalid device %s: cannot determine pool name\n")
594 _("pool name %s not present in signature %s\n")
597 _("invalid device for ZFS filesystem: %s\n")
600 _("cannot derive ZFS pool from special: %s\n")
603 _("cannot get zpool status for pool: %s\n")
606 _("bad zpool status for pool=%s\n")
609 _("no pool name %s in zpool status\n")
612 _("no physical device in zpool status for pool=%s\n")
615 _("not a SVM metadevice: %s. Cannot derive physical device\n")
618 _("invalid SVM metadevice name: %s. Cannot derive physical device\n")
621 _("metastat command failed on SVM metadevice: %s\n")
624 _("failed to start service %s for metastat command\n")
627 _("bad output from metastat command on SVM metadevice: %s\n")
630 _("invalid fields in metastat output for SVM metadevice: %s\n")
633 _("cannot parse output of metastat command for metadevice: %s\n")
636 _("cannot parse submirror line in metastat output for metadevice: %s\n")
639 _("cannot derive physical device for %s (%s), unsupported filesystem\n")
642 _("error parsing metastat output for SVM metadevice: %s\n")
645 _("failed to get special file for osroot: %s\n")
648 _("failed to get special file for menu_root: %s\n")
650 #define GET_SVC_STATE_ERR _("failed to determine state of service: %s\n")
653 _("failed to determine if service is online: %s\n")
655 #define ENABLE_SVC_FAILED _("failed to online service: %s\n")
658 _("failed to get online status for service: %s\n")
661 _("timed out waiting for service to online: %s\n")
664 _("failed to read GRUB menu checksum file: %s\n")
667 _("multiple checksums for GRUB menu in checksum file: %s\n")
670 _("error parsing GRUB menu checksum file: %s\n")
673 _("error generating checksum of GRUB menu\n")
676 _("bad checksum generated for GRUB menu\n")
679 _("error parsing checksum generated for GRUB menu\n")
682 _("error propagating updated GRUB menu\n")
685 _("failed to create backup for GRUB menu: %s\n")
688 _("error propagating backup GRUB menu: %s\n")
691 _("failed to write GRUB menu checksum file: %s\n")
694 _("error propagating GRUB menu checksum file: %s\n")
697 _("error propagating bootadm: %s\n")
700 _("propagating updated GRUB menu\n")
702 #define NEED_DIRPATH _("need to create directory path for %s\n")
704 #define UPDT_CACHE_FAIL _("directory cache update failed for %s\n")
707 _("unable to modify default entry; creating new boot entry for %s\n")