xref: /titanic_41/usr/src/cmd/boot/bootadm/message.h (revision 533b02e7a66b5ca19c7dc6d7333249216bcddfba)
17c478bd9Sstevel@tonic-gate /*
27c478bd9Sstevel@tonic-gate  * CDDL HEADER START
37c478bd9Sstevel@tonic-gate  *
47c478bd9Sstevel@tonic-gate  * The contents of this file are subject to the terms of the
5fbac2b2bSvikram  * Common Development and Distribution License (the "License").
6fbac2b2bSvikram  * You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate  *
87c478bd9Sstevel@tonic-gate  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate  * or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate  * See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate  * and limitations under the License.
127c478bd9Sstevel@tonic-gate  *
137c478bd9Sstevel@tonic-gate  * When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate  * If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate  * fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate  * information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate  *
197c478bd9Sstevel@tonic-gate  * CDDL HEADER END
207c478bd9Sstevel@tonic-gate  */
217c478bd9Sstevel@tonic-gate /*
2237eb779cSVikram Hegde  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
237c478bd9Sstevel@tonic-gate  * Use is subject to license terms.
24*533b02e7SToomas Soome  * Copyright 2014 Toomas Soome <tsoome@me.com>
257c478bd9Sstevel@tonic-gate  */
267c478bd9Sstevel@tonic-gate 
277c478bd9Sstevel@tonic-gate #ifndef	_MESSAGE_H
287c478bd9Sstevel@tonic-gate #define	_MESSAGE_H
297c478bd9Sstevel@tonic-gate 
307c478bd9Sstevel@tonic-gate #ifdef	__cplusplus
317c478bd9Sstevel@tonic-gate extern "C" {
327c478bd9Sstevel@tonic-gate #endif
337c478bd9Sstevel@tonic-gate 
34ae115bc7Smrj #include <libintl.h>
35ae115bc7Smrj 
367c478bd9Sstevel@tonic-gate #define	FILE_MISS gettext("file not found: %s\n")
377c478bd9Sstevel@tonic-gate 
387c478bd9Sstevel@tonic-gate #define	ARCH_EXEC_MISS gettext("archive creation file not found: %s: %s\n")
397c478bd9Sstevel@tonic-gate 
40cedc7e57SEnrico Perla - Sun Microsystems #define	PATH_EXEC_OWNER gettext("%s is not owned by %d, skipping\n")
41cedc7e57SEnrico Perla - Sun Microsystems 
42cedc7e57SEnrico Perla - Sun Microsystems #define	PATH_EXEC_LINK gettext("%s is not a regular file, skipping\n")
43cedc7e57SEnrico Perla - Sun Microsystems 
44cedc7e57SEnrico Perla - Sun Microsystems #define	PATH_EXEC_PERMS gettext("%s is others or group writable, skipping\n")
45cedc7e57SEnrico Perla - Sun Microsystems 
464a9df875SEnrico Perla - Sun Microsystems #define	UPDATE_CACHE_OLD gettext("archive cache is out of sync. Rebuilding.\n")
474a9df875SEnrico Perla - Sun Microsystems 
481a97e40eSvikram #define	MUST_BE_ROOT gettext("you must be root to run this command\n")
497c478bd9Sstevel@tonic-gate 
50eb2bd662Svikram #define	NOT_ARCHIVE_BOOT \
51eb2bd662Svikram 	gettext("%s: not a boot archive based Solaris instance\n")
527c478bd9Sstevel@tonic-gate 
537c478bd9Sstevel@tonic-gate #define	MULT_CMDS gettext("multiple commands specified: -%c\n")
547c478bd9Sstevel@tonic-gate 
557c478bd9Sstevel@tonic-gate #define	INVALID_SUBCMD gettext("invalid sub-command specified: %s\n")
567c478bd9Sstevel@tonic-gate 
577c478bd9Sstevel@tonic-gate #define	NEED_SUBCMD gettext("this command requires a sub-command\n")
587c478bd9Sstevel@tonic-gate 
597c478bd9Sstevel@tonic-gate #define	NEED_CMD gettext("a command option must be specified\n")
607c478bd9Sstevel@tonic-gate 
617c478bd9Sstevel@tonic-gate #define	DUP_OPT gettext("duplicate options specified: -%c\n")
627c478bd9Sstevel@tonic-gate 
637c478bd9Sstevel@tonic-gate #define	BAD_OPT gettext("invalid option or missing option argument: -%c\n")
647c478bd9Sstevel@tonic-gate 
657c478bd9Sstevel@tonic-gate #define	NO_OPT_REQ gettext("this sub-command (%s) does not take options\n")
667c478bd9Sstevel@tonic-gate 
677c478bd9Sstevel@tonic-gate #define	MISS_OPT gettext("an option is required for this sub-command: %s\n")
687c478bd9Sstevel@tonic-gate 
697c478bd9Sstevel@tonic-gate #define	ABS_PATH_REQ gettext("path is not absolute: %s\n")
707c478bd9Sstevel@tonic-gate 
7148847494SEnrico Perla - Sun Microsystems #define	PATH_TOO_LONG \
7248847494SEnrico Perla - Sun Microsystems 	gettext("unable to create path on mountpoint %s, path too long\n")
7348847494SEnrico Perla - Sun Microsystems 
747c478bd9Sstevel@tonic-gate #define	TOO_LONG gettext("the following line is too long (> %d chars)\n\t%s\n")
757c478bd9Sstevel@tonic-gate 
76eb2bd662Svikram #define	NOT_GRUB_BOOT \
77*533b02e7SToomas Soome     gettext("not a GRUB 0.97 based Illumos instance. Operation not supported\n")
787c478bd9Sstevel@tonic-gate 
79eb2bd662Svikram #define	NOT_GRUB_ROOT gettext("missing /boot/grub on root: %s\n")
807c478bd9Sstevel@tonic-gate 
8140541d5dSvikram #define	ALT_ROOT_INVALID \
8240541d5dSvikram     gettext("an alternate root (%s) cannot be used with this sub-command\n")
8340541d5dSvikram 
847c478bd9Sstevel@tonic-gate #define	NO_ENTRY gettext("no %s entry found\n")
857c478bd9Sstevel@tonic-gate 
867c478bd9Sstevel@tonic-gate #define	NO_MATCH_ENTRY gettext("no matching entry found\n")
877c478bd9Sstevel@tonic-gate 
887c478bd9Sstevel@tonic-gate #define	NO_BOOTADM_MATCH gettext("no matching bootadm entry found\n")
897c478bd9Sstevel@tonic-gate 
907c478bd9Sstevel@tonic-gate #define	NO_MEM gettext("could not allocate memory: size = %u\n")
917c478bd9Sstevel@tonic-gate 
9244da779fSWilliam Kucharski #define	NO_SPARC gettext("%s operation unsupported on SPARC machines\n")
9344da779fSWilliam Kucharski 
9440541d5dSvikram #define	CANNOT_LOCATE_GRUB_MENU gettext("cannot find GRUB menu\n")
9540541d5dSvikram 
9644da779fSWilliam Kucharski #define	CANNOT_LOCATE_GRUB_MENU_FILE gettext("cannot find GRUB menu file: %s\n")
9744da779fSWilliam Kucharski 
9848847494SEnrico Perla - Sun Microsystems #define	GRUB_MENU_PATH gettext("the location for the active GRUB menu is: %s\n")
9940541d5dSvikram 
10040541d5dSvikram #define	STUBBOOT_DIR_NOT_FOUND gettext("cannot find stubboot directory\n")
10140541d5dSvikram 
1027c478bd9Sstevel@tonic-gate #define	NO_CMD gettext("no command at line %d\n")
1037c478bd9Sstevel@tonic-gate 
1047c478bd9Sstevel@tonic-gate #define	DUP_CMD \
1057c478bd9Sstevel@tonic-gate     gettext("duplicate command %s at line %d of %sboot/grub/menu.lst\n")
1067c478bd9Sstevel@tonic-gate 
1077c478bd9Sstevel@tonic-gate #define	NO_MENU gettext("menu file not found: %s\n")
1087c478bd9Sstevel@tonic-gate 
1097c478bd9Sstevel@tonic-gate #define	GLOBAL_CMD gettext("%s %s\n")
1107c478bd9Sstevel@tonic-gate 
1117c478bd9Sstevel@tonic-gate #define	INVALID_ENTRY gettext("invalid boot entry number: %s\n")
1127c478bd9Sstevel@tonic-gate 
113eb2bd662Svikram #define	INVALID_OPTION gettext("invalid option: %s\n")
1147c478bd9Sstevel@tonic-gate 
1157c478bd9Sstevel@tonic-gate #define	SUBOPT_MISS gettext("missing suboption: %s\n")
1167c478bd9Sstevel@tonic-gate 
11748847494SEnrico Perla - Sun Microsystems #define	NO_KERNEL gettext("no kernel line found in entry %d\n")
118ae115bc7Smrj 
11948847494SEnrico Perla - Sun Microsystems #define	EMPTY_MENU gettext("the GRUB menu is empty\n")
1207c478bd9Sstevel@tonic-gate 
1217c478bd9Sstevel@tonic-gate #define	UNLINK_EMPTY gettext("file is empty, deleting file: %s\n")
1227c478bd9Sstevel@tonic-gate 
1237c478bd9Sstevel@tonic-gate #define	UNLINK_FAIL gettext("failed to unlink file: %s: %s\n")
1247c478bd9Sstevel@tonic-gate 
1257c478bd9Sstevel@tonic-gate #define	NO_MATCH gettext("no matching entry found: %s\n")
1267c478bd9Sstevel@tonic-gate 
1277c478bd9Sstevel@tonic-gate #define	INVALID_OPT gettext("invalid option: %s\n")
1287c478bd9Sstevel@tonic-gate 
12948847494SEnrico Perla - Sun Microsystems #define	FAILED_SIG gettext("cannot set SIGCHLD disposition: %s\n")
1307c478bd9Sstevel@tonic-gate 
13148847494SEnrico Perla - Sun Microsystems #define	CANT_UNBLOCK_SIGCHLD gettext("cannot unblock SIGCHLD: %s\n")
13248847494SEnrico Perla - Sun Microsystems 
13348847494SEnrico Perla - Sun Microsystems #define	NO3264ELF \
13448847494SEnrico Perla - Sun Microsystems     gettext("WARNING: file %s is neither a 32-bit nor a 64-bit ELF\n")
1357c478bd9Sstevel@tonic-gate 
1367c478bd9Sstevel@tonic-gate #define	BLOCKED_SIG gettext("SIGCHLD signal blocked. Cannot exec: %s\n")
1377c478bd9Sstevel@tonic-gate 
1387c478bd9Sstevel@tonic-gate #define	POPEN_FAIL gettext("popen failed: %s\n")
1397c478bd9Sstevel@tonic-gate 
1407c478bd9Sstevel@tonic-gate #define	PCLOSE_FAIL gettext("pclose failed: %s\n")
1417c478bd9Sstevel@tonic-gate 
1427c478bd9Sstevel@tonic-gate #define	EXEC_FAIL gettext("command terminated abnormally: %s: %d\n")
1437c478bd9Sstevel@tonic-gate 
1447c478bd9Sstevel@tonic-gate #define	OPEN_FAIL gettext("failed to open file: %s: %s\n")
1457c478bd9Sstevel@tonic-gate 
1467c478bd9Sstevel@tonic-gate #define	LOCK_FAIL gettext("failed to lock file: %s: %s\n")
1477c478bd9Sstevel@tonic-gate 
1487c478bd9Sstevel@tonic-gate #define	UNLOCK_FAIL gettext("failed to unlock file: %s: %s\n")
1497c478bd9Sstevel@tonic-gate 
1504a9df875SEnrico Perla - Sun Microsystems #define	TIMESTAMP_FAIL gettext("failed to update the timestamp file, next\
1514a9df875SEnrico Perla - Sun Microsystems     archive update may experience reduced performance\n")
1524a9df875SEnrico Perla - Sun Microsystems 
153ae115bc7Smrj #define	MMAP_FAIL gettext("failed to mmap file: %s: %s\n")
154ae115bc7Smrj 
15548847494SEnrico Perla - Sun Microsystems #define	FILE_LOCKED gettext("another instance of bootadm (pid %u) is running\n")
1567c478bd9Sstevel@tonic-gate 
1577c478bd9Sstevel@tonic-gate #define	NO_FLIST gettext("archive filelist is empty\n")
1587c478bd9Sstevel@tonic-gate 
1597c478bd9Sstevel@tonic-gate #define	CLOSE_FAIL gettext("failed to close file: %s: %s\n")
1607c478bd9Sstevel@tonic-gate 
1617c478bd9Sstevel@tonic-gate #define	RENAME_FAIL gettext("rename to file failed: %s: %s\n")
1627c478bd9Sstevel@tonic-gate 
1637c478bd9Sstevel@tonic-gate #define	NOT_IN_MNTTAB gettext("alternate root %s not in mnttab\n")
1647c478bd9Sstevel@tonic-gate 
1657c478bd9Sstevel@tonic-gate #define	CANT_RESOLVE gettext("cannot resolve path %s: %s\n")
1667c478bd9Sstevel@tonic-gate 
1677c478bd9Sstevel@tonic-gate #define	ROOT_ABS gettext("this sub-command doesn't take root arguments: %s\n")
1687c478bd9Sstevel@tonic-gate 
16948847494SEnrico Perla - Sun Microsystems #define	ARCHIVE_FAIL gettext("boot-archive creation FAILED, command: '%s'\n")
17048847494SEnrico Perla - Sun Microsystems 
17148847494SEnrico Perla - Sun Microsystems #define	MULTI_FAIL \
17248847494SEnrico Perla - Sun Microsystems     gettext("Command '%s' failed while generating multisession archive\n")
17348847494SEnrico Perla - Sun Microsystems 
17448847494SEnrico Perla - Sun Microsystems #define	INFILE_FAIL gettext("unable to read from %s: %s\n")
17548847494SEnrico Perla - Sun Microsystems 
17648847494SEnrico Perla - Sun Microsystems #define	ARCHIVE_BAD gettext("archive file %s not generated correctly\n")
17748847494SEnrico Perla - Sun Microsystems 
17848847494SEnrico Perla - Sun Microsystems #define	CACHE_FAIL	\
17948847494SEnrico Perla - Sun Microsystems     gettext("Failed to gather cache files, archives generation aborted\n")
18048847494SEnrico Perla - Sun Microsystems 
18148847494SEnrico Perla - Sun Microsystems #define	BOOTBLK_FAIL gettext("unable to access bootblk file : %s\n")
1827c478bd9Sstevel@tonic-gate 
1837c478bd9Sstevel@tonic-gate #define	WRITE_FAIL gettext("write to file failed: %s: %s\n")
1847c478bd9Sstevel@tonic-gate 
18548847494SEnrico Perla - Sun Microsystems #define	GZ_WRITE_FAIL gettext("failed to write to %s\n")
18648847494SEnrico Perla - Sun Microsystems 
1877c478bd9Sstevel@tonic-gate #define	STAT_FAIL gettext("stat of file failed: %s: %s\n")
1887c478bd9Sstevel@tonic-gate 
1897c478bd9Sstevel@tonic-gate #define	PACK_FAIL gettext("failed to pack stat data: %s\n")
1907c478bd9Sstevel@tonic-gate 
1917c478bd9Sstevel@tonic-gate #define	NVALLOC_FAIL gettext("failed to create stat data: %s\n")
1927c478bd9Sstevel@tonic-gate 
1937c478bd9Sstevel@tonic-gate #define	NVADD_FAIL gettext("failed to update stat data for: %s: %s\n")
1947c478bd9Sstevel@tonic-gate 
195eb2bd662Svikram #define	DISKMAP_FAIL \
196eb2bd662Svikram     gettext("create_diskmap command failed for OS root: %s.\n")
1977c478bd9Sstevel@tonic-gate 
19837eb779cSVikram Hegde #define	BIOSDEV_SKIP \
19937eb779cSVikram Hegde     gettext("not using biosdev command for disk: %s.\n")
2007c478bd9Sstevel@tonic-gate 
2017c478bd9Sstevel@tonic-gate #define	CHECK_NOT_SUPPORTED \
2027c478bd9Sstevel@tonic-gate 	gettext("the check option is not supported with subcmd: %s\n")
2037c478bd9Sstevel@tonic-gate 
2047c478bd9Sstevel@tonic-gate #define	PARSEABLE_NEW_FILE	gettext("    new     %s\n")
2057c478bd9Sstevel@tonic-gate 
2067c478bd9Sstevel@tonic-gate #define	PARSEABLE_OUT_DATE	gettext("    changed %s\n")
2077c478bd9Sstevel@tonic-gate 
208a28d77b8Svikram #define	PARSEABLE_STALE_FILE	gettext("    stale %s\n")
209a28d77b8Svikram 
2107c478bd9Sstevel@tonic-gate #define	UPDATE_FORCE gettext("forced update of archive requested\n")
2117c478bd9Sstevel@tonic-gate 
2127c478bd9Sstevel@tonic-gate #define	NO_NEW_STAT gettext("cannot create new stat data\n")
2137c478bd9Sstevel@tonic-gate 
2147c478bd9Sstevel@tonic-gate #define	UPDATE_ARCH_MISS gettext("archive not found: %s\n")
2157c478bd9Sstevel@tonic-gate 
21648847494SEnrico Perla - Sun Microsystems #define	UPDATE_CDIR_MISS gettext("archive cache directory not found: %s\n")
21748847494SEnrico Perla - Sun Microsystems 
21848847494SEnrico Perla - Sun Microsystems #define	MULTI_SIZE \
21948847494SEnrico Perla - Sun Microsystems     gettext("archive %s is bigger than %d bytes and will be rebuilt\n")
22048847494SEnrico Perla - Sun Microsystems 
2217c478bd9Sstevel@tonic-gate #define	READ_FAIL gettext("read failed for file: %s: %s\n")
2227c478bd9Sstevel@tonic-gate 
2237c478bd9Sstevel@tonic-gate #define	UNPACK_FAIL gettext("failed to unpack stat data: %s: %s\n")
2247c478bd9Sstevel@tonic-gate 
2257c478bd9Sstevel@tonic-gate #define	NFTW_FAIL gettext("cannot find: %s: %s\n")
2267c478bd9Sstevel@tonic-gate 
22748847494SEnrico Perla - Sun Microsystems #define	SIGN_FAIL gettext("iso descriptor signature for %s is invalid\n")
22848847494SEnrico Perla - Sun Microsystems 
2297c478bd9Sstevel@tonic-gate #define	STATVFS_FAIL gettext("statvfs failed for %s: %s\n")
2307c478bd9Sstevel@tonic-gate 
2317c478bd9Sstevel@tonic-gate #define	IS_RAMDISK gettext("%s is on a ramdisk device\n")
2327c478bd9Sstevel@tonic-gate 
2337c478bd9Sstevel@tonic-gate #define	PRINT gettext("%s\n")
2347c478bd9Sstevel@tonic-gate 
2357c478bd9Sstevel@tonic-gate #define	PRINT_TITLE gettext("%d %s\n")
2367c478bd9Sstevel@tonic-gate 
2377c478bd9Sstevel@tonic-gate #define	INT_ERROR gettext("Internal error: %s\n")
2387c478bd9Sstevel@tonic-gate 
2397c478bd9Sstevel@tonic-gate #define	CANT_FIND_USER \
2407c478bd9Sstevel@tonic-gate 	gettext("getpwnam: uid for %s failed, defaulting to %d\n")
2417c478bd9Sstevel@tonic-gate 
2427c478bd9Sstevel@tonic-gate #define	CANT_FIND_GROUP \
2437c478bd9Sstevel@tonic-gate 	gettext("getgrnam: gid for %s failed, defaulting to %d\n")
2447c478bd9Sstevel@tonic-gate 
2457c478bd9Sstevel@tonic-gate #define	CHMOD_FAIL gettext("chmod operation on %s failed - %s\n")
2467c478bd9Sstevel@tonic-gate 
2477c478bd9Sstevel@tonic-gate #define	CHOWN_FAIL gettext("chgrp operation on %s failed - %s\n")
2487c478bd9Sstevel@tonic-gate 
249b610f78eSvikram #define	MISSING_SLICE_FILE gettext("GRUB slice file %s missing: %s\n")
250b610f78eSvikram 
251b610f78eSvikram #define	MKDIR_FAILED gettext("mkdir of %s failed: %s\n")
252b610f78eSvikram 
25340541d5dSvikram #define	MOUNT_FAILED gettext("mount of %s (fstype %s) failed\n")
25440541d5dSvikram 
25540541d5dSvikram #define	MOUNT_MNTPT_FAILED gettext("mount at %s failed\n")
256b610f78eSvikram 
257eb2bd662Svikram #define	UMOUNT_FAILED gettext("umount of %s failed\n")
258b610f78eSvikram 
259b610f78eSvikram #define	CANNOT_RESTORE_GRUB_SLICE gettext("cannot restore GRUB slice\n")
260b610f78eSvikram 
261b610f78eSvikram #define	RESTORE_GRUB_FAILED gettext("cannot restore GRUB loader\n")
262b610f78eSvikram 
263b610f78eSvikram #define	MISSING_BACKUP_MENU gettext("no backup menu %s: %s\n")
264b610f78eSvikram 
265b610f78eSvikram #define	RESTORE_MENU_FAILED gettext("cannot restore menu %s\n")
266b610f78eSvikram 
267b610f78eSvikram #define	MISSING_ROOT_FILE gettext("file missing: %s: %s\n")
268b610f78eSvikram 
269b610f78eSvikram #define	BAD_ROOT_FILE gettext("file is invalid: %s\n")
270b610f78eSvikram 
2711a97e40eSvikram #define	TRAILING_ARGS gettext("invalid trailing arguments\n")
2721a97e40eSvikram 
273b610f78eSvikram #define	RESTORING_GRUB \
274b610f78eSvikram 	gettext("No GRUB installation found. Restoring GRUB from backup\n")
275b610f78eSvikram 
276eb2bd662Svikram #define	REBOOT_WITH_ARGS_ADD_ENTRY_FAILED \
277b610f78eSvikram 	gettext("Cannot update menu. Cannot reboot with requested arguments\n")
278b610f78eSvikram 
279963390b4Svikram #define	FDISK_FILES_FOUND \
280963390b4Svikram 	gettext("Deferred FDISK update file(s) found: %s, %s. Not supported.\n")
281fbac2b2bSvikram 
28248847494SEnrico Perla - Sun Microsystems #define	UNKNOWN_KERNEL	gettext("unable to expand %s to a full file path.\n")
283ae115bc7Smrj 
284455710d3Srscott #define	UNKNOWN_KERNEL_REBOOT	\
285455710d3Srscott 	gettext("Rebooting with default kernel and options.\n")
286455710d3Srscott 
287ae115bc7Smrj #define	NOT_DBOOT \
288ae115bc7Smrj 	gettext("bootadm set-menu %s may only be run on directboot kernels.\n")
289ae115bc7Smrj 
2900d69385cSrscott #define	DEFAULT_NOT_BAM	gettext(	\
2910d69385cSrscott "Default /boot/grub/menu.lst entry is not controlled by bootadm.  Exiting\n")
292ae115bc7Smrj 
29344da779fSWilliam Kucharski #define	CANT_FIND_DEFAULT	\
29444da779fSWilliam Kucharski gettext("unable to find default boot entry (%d) in menu.lst file.\n")
29544da779fSWilliam Kucharski 
296eb2bd662Svikram #define	UNKNOWN_KERNEL_LINE	\
297eb2bd662Svikram gettext("kernel command on line %d not recognized.\n")
298ae115bc7Smrj 
299eb2bd662Svikram #define	UNKNOWN_MODULE_LINE	\
300eb2bd662Svikram gettext("module command on line %d not recognized.\n")
301ae115bc7Smrj 
30244da779fSWilliam Kucharski #define	FINDROOT_NOT_FOUND	\
30344da779fSWilliam Kucharski gettext("findroot in default boot entry (%d) missing.\n")
30444da779fSWilliam Kucharski 
30544da779fSWilliam Kucharski #define	KERNEL_NOT_FOUND	\
30644da779fSWilliam Kucharski gettext("kernel$ in default boot entry (%d) missing.\n")
30744da779fSWilliam Kucharski 
30866b6aef6SWilliam Kucharski #define	KERNEL_NOT_PARSEABLE	\
30966b6aef6SWilliam Kucharski gettext("kernel$ in default boot entry (%d) missing or not parseable.\n")
31066b6aef6SWilliam Kucharski 
31144da779fSWilliam Kucharski #define	MODULE_NOT_PARSEABLE	\
31244da779fSWilliam Kucharski gettext("module$ in default boot entry (%d) missing or not parseable.\n")
31344da779fSWilliam Kucharski 
314ae115bc7Smrj #define	NOT_ELF_FILE gettext("%s is not an ELF file.\n")
315ae115bc7Smrj 
316ae115bc7Smrj #define	WRONG_ELF_CLASS gettext("%s is wrong ELF class 0x%x\n")
317ae115bc7Smrj 
318ae115bc7Smrj #define	FAILSAFE_MISSING \
319ae115bc7Smrj gettext("bootadm -m upgrade run, but the failsafe archives have not been\n\
320ae115bc7Smrj updated.  Not updating line %d\n")
321ae115bc7Smrj 
322d876c67dSjg #define	INVALID_PLAT	\
323d876c67dSjg 	gettext("invalid platform %s - must be one of sun4u, sun4v or i86pc\n")
324d876c67dSjg 
325eb2bd662Svikram #define	FDISKPART_FAIL gettext("failed to determine fdisk partition: %s\n")
326eb2bd662Svikram 
327eb2bd662Svikram #define	INVALID_MHASH_KEY gettext("invalid key for mnttab hash: %s\n")
328eb2bd662Svikram 
329eb2bd662Svikram #define	INVALID_UFS_SIGNATURE gettext("invalid UFS boot signature: %s\n")
330eb2bd662Svikram 
331eb2bd662Svikram #define	SIGN_LIST_FPUTS_ERR \
332eb2bd662Svikram 	gettext("failed to write signature %s to signature list: %s\n")
333eb2bd662Svikram 
334eb2bd662Svikram #define	SIGNATURE_LIST_EXISTS gettext("	- signature list %s exists\n")
335eb2bd662Svikram 
336eb2bd662Svikram #define	OPENDIR_FAILED gettext("opendir of %s failed: %s\n")
337eb2bd662Svikram 
338eb2bd662Svikram #define	GRUBSIGN_SORT_FAILED gettext("error sorting GRUB UFS boot signatures\n")
339eb2bd662Svikram 
340eb2bd662Svikram #define	SEARCHING_UFS_SIGN gettext("	- searching for UFS boot signatures\n")
341eb2bd662Svikram 
342eb2bd662Svikram #define	ERR_FIND_UFS_SIGN gettext("search for UFS boot signatures failed\n")
343eb2bd662Svikram 
344eb2bd662Svikram #define	UFS_SIGNATURE_LIST_MISS gettext("missing UFS signature list file: %s\n")
345eb2bd662Svikram 
346eb2bd662Svikram #define	UFS_SIGNATURE_LIST_OPENERR \
347eb2bd662Svikram 	gettext("error opening UFS boot signature list file %s: %s\n")
348eb2bd662Svikram 
349eb2bd662Svikram #define	UFS_BADSIGN gettext("bad UFS boot signature: %s\n")
350eb2bd662Svikram 
351eb2bd662Svikram #define	GRUBSIGN_BACKUP_OPENERR \
352eb2bd662Svikram 	gettext("error opening boot signature backup file %s: %s\n")
353eb2bd662Svikram 
354eb2bd662Svikram #define	GRUBSIGN_BACKUP_WRITEERR \
355eb2bd662Svikram 	gettext("error writing boot signature backup file %s: %s\n")
356eb2bd662Svikram 
357eb2bd662Svikram #define	GRUBSIGN_BACKUP_UPDATED \
358eb2bd662Svikram 	gettext("updated boot signature backup file %s\n")
359eb2bd662Svikram 
360eb2bd662Svikram #define	GRUBSIGN_PRIMARY_CREATERR \
361eb2bd662Svikram 	gettext("error creating primary boot signature %s: %s\n")
362eb2bd662Svikram 
363eb2bd662Svikram #define	GRUBSIGN_PRIMARY_SYNCERR \
364eb2bd662Svikram 	gettext("error syncing primary boot signature %s: %s\n")
365eb2bd662Svikram 
366eb2bd662Svikram #define	GRUBSIGN_CREATED_PRIMARY \
367eb2bd662Svikram 	gettext("created primary GRUB boot signature: %s\n")
368eb2bd662Svikram 
369eb2bd662Svikram #define	GRUBSIGN_CREATE_FAIL \
370eb2bd662Svikram 	gettext("failed to create GRUB boot signature for device: %s\n")
371eb2bd662Svikram 
372eb2bd662Svikram #define	GRUBSIGN_WRITE_FAIL \
373eb2bd662Svikram 	gettext("failed to write GRUB boot signature for device: %s\n")
374eb2bd662Svikram 
375eb2bd662Svikram #define	GRUBSIGN_UFS_NONE gettext("	- no existing UFS boot signatures\n")
376eb2bd662Svikram 
377eb2bd662Svikram #define	GRUBSIGN_NOTSUP gettext("boot signature not supported for fstype: %s\n")
378eb2bd662Svikram 
379eb2bd662Svikram #define	GRUBSIGN_MKDIR_ERR \
380eb2bd662Svikram 	gettext("error creating boot signature directory %s: %s\n")
381eb2bd662Svikram 
382eb2bd662Svikram #define	NOT_UFS_SLICE gettext("%s is not a ufs slice: %s\n")
383eb2bd662Svikram 
384eb2bd662Svikram #define	FSTYP_FAILED gettext("fstyp failed for slice: %s\n")
385eb2bd662Svikram 
386eb2bd662Svikram #define	FSTYP_BAD gettext("bad output from fstyp for slice: %s\n")
387eb2bd662Svikram 
388eb2bd662Svikram #define	ZFS_MOUNT_FAILED gettext("mount of ZFS pool %s failed\n")
389eb2bd662Svikram 
390eb2bd662Svikram #define	ZFS_MNTPT_FAILED \
391eb2bd662Svikram 	gettext("failed to determine mount point of ZFS pool %s\n")
392eb2bd662Svikram 
393eb2bd662Svikram #define	NULL_ZFS_MNTPT gettext("ZFS pool %s has no mount-point\n")
394eb2bd662Svikram 
395eb2bd662Svikram #define	BAD_ZFS_MNTPT gettext("ZFS pool %s has bad mount-point %s\n")
396eb2bd662Svikram 
397eb2bd662Svikram #define	NULL_ZFS_MNTPT gettext("ZFS pool %s has no mount-point\n")
398eb2bd662Svikram 
399eb2bd662Svikram #define	BAD_ZFS_MNTED gettext("ZFS pool %s has bad mount status\n")
400eb2bd662Svikram 
401eb2bd662Svikram #define	ZFS_MNTED_FAILED \
402eb2bd662Svikram 	gettext("failed to determine mount status of ZFS pool %s\n")
403eb2bd662Svikram 
404eb2bd662Svikram #define	INT_BAD_MNTSTATE \
405eb2bd662Svikram 	gettext("Internal error: bad saved mount state for pool %s\n")
406eb2bd662Svikram 
407eb2bd662Svikram #define	FSTYP_A_FAILED gettext("fstyp -a on device %s failed\n")
408eb2bd662Svikram 
409eb2bd662Svikram #define	NULL_FSTYP_A gettext("NULL fstyp -a output for device %s\n")
410eb2bd662Svikram 
411eb2bd662Svikram #define	BAD_FSTYP_A gettext("bad fstyp -a output for device %s\n")
412eb2bd662Svikram 
413eb2bd662Svikram #define	INVALID_UFS_SIGN gettext("invalid UFS boot signature %s\n")
414eb2bd662Svikram 
415eb2bd662Svikram #define	CANT_FIND_SPECIAL gettext("cant find special file for mount-point %s\n")
416eb2bd662Svikram 
417eb2bd662Svikram #define	CANT_FIND_POOL gettext("cant find pool for mount-point %s\n")
418eb2bd662Svikram 
419eb2bd662Svikram #define	NULL_FINDROOT gettext("can't find argument for findroot command\n")
420eb2bd662Svikram 
421eb2bd662Svikram #define	INVALID_DEV_DSK gettext("not a /dev/[r]dsk name: %s\n")
422eb2bd662Svikram 
42348847494SEnrico Perla - Sun Microsystems #define	CVT_FINDROOT gettext("converting entries to findroot...\n")
424eb2bd662Svikram 
42548847494SEnrico Perla - Sun Microsystems #define	CVT_HV gettext("adding xVM entries...\n")
426eb2bd662Svikram 
42748847494SEnrico Perla - Sun Microsystems #define	CVT_DBOOT gettext("converting entries to dboot...\n")
428eb2bd662Svikram 
429eb2bd662Svikram #define	DOWNGRADE_NOTSUP \
43048847494SEnrico Perla - Sun Microsystems gettext("automated downgrade of GRUB menu to older version not supported.\n")
431eb2bd662Svikram 
43248847494SEnrico Perla - Sun Microsystems #define	CANT_FIND_GRUBSIGN gettext("cannot find GRUB signature for %s\n")
433eb2bd662Svikram 
434eb2bd662Svikram #define	CVT_TODO	\
43548847494SEnrico Perla - Sun Microsystems gettext("one or more GRUB menu entries were not automatically upgraded\n\
436eb2bd662Svikram For details on manually updating entries, see %s\n")
437eb2bd662Svikram 
438eb2bd662Svikram #define	CVT_ABORT	\
43948847494SEnrico Perla - Sun Microsystems gettext("error upgrading GRUB menu entries on %s. Aborting.\n\
440eb2bd662Svikram For details on manually updating entries, see %s\n")
441eb2bd662Svikram 
44244da779fSWilliam Kucharski #define	ALREADY_HYPER	\
44344da779fSWilliam Kucharski gettext("default entry already setup for use with the hypervisor!\n")
44444da779fSWilliam Kucharski 
44544da779fSWilliam Kucharski #define	HYPER_ABORT	\
44644da779fSWilliam Kucharski gettext("error converting GRUB menu entry on %s for use with the hypervisor.\n\
44744da779fSWilliam Kucharski Aborting.\n")
44844da779fSWilliam Kucharski 
44944da779fSWilliam Kucharski #define	ALREADY_METAL	\
45044da779fSWilliam Kucharski gettext("default entry already setup for use with a metal kernel!\n")
45144da779fSWilliam Kucharski 
45244da779fSWilliam Kucharski #define	METAL_ABORT	\
45344da779fSWilliam Kucharski gettext("error converting GRUB menu entry on %s for use with a metal kernel.\n\
45444da779fSWilliam Kucharski Aborting.\n")
45544da779fSWilliam Kucharski 
456eb2bd662Svikram #define	HAND_ADDED_ENTRIES	\
457eb2bd662Svikram gettext("bootadm(1M) will only upgrade GRUB menu entries added by \n\
458eb2bd662Svikram bootadm(1M) or lu(1M). The following entries on %s will not be upgraded.\n\
459eb2bd662Svikram For details on manually updating entries, see %s\n")
460eb2bd662Svikram 
461eb2bd662Svikram #define	SIGN_FSTYPE_MISMATCH	\
46248847494SEnrico Perla - Sun Microsystems gettext("found mismatched boot signature %s for filesystem type: %s.\n")
463eb2bd662Svikram 
464eb2bd662Svikram #define	REBOOT_FSTYPE_FAILED	\
46548847494SEnrico Perla - Sun Microsystems gettext("failed to determine filesystem type for \"/\". Reboot with \n\
466eb2bd662Svikram arguments failed.\n")
467eb2bd662Svikram 
468eb2bd662Svikram #define	REBOOT_SPECIAL_FAILED	\
46948847494SEnrico Perla - Sun Microsystems gettext("failed to find device special file for \"/\". Reboot with \n\
470eb2bd662Svikram arguments failed.\n")
471eb2bd662Svikram 
472eb2bd662Svikram #define	REBOOT_SIGN_FAILED	\
47348847494SEnrico Perla - Sun Microsystems gettext("failed to find boot signature. Reboot with arguments failed.\n")
474eb2bd662Svikram 
475eb2bd662Svikram #define	REBOOT_DIRECT_FAILED	\
47648847494SEnrico Perla - Sun Microsystems gettext("the root filesystem is not a dboot Solaris instance. \n\
477eb2bd662Svikram This version of bootadm is not supported on this version of Solaris.\n")
478eb2bd662Svikram 
479eb2bd662Svikram #define	BOOTENV_FSTYPE_FAILED	\
48048847494SEnrico Perla - Sun Microsystems gettext("cannot determine filesystem type for \"/\".\n\
481eb2bd662Svikram Cannot generate GRUB menu entry with EEPROM arguments.\n")
482eb2bd662Svikram 
483eb2bd662Svikram #define	BOOTENV_SPECIAL_FAILED	\
48448847494SEnrico Perla - Sun Microsystems gettext("cannot determine device special file for \"/\".\n\
485eb2bd662Svikram Cannot generate GRUB menu entry with EEPROM arguments.\n")
486eb2bd662Svikram 
487eb2bd662Svikram #define	BOOTENV_SIGN_FAILED	\
48848847494SEnrico Perla - Sun Microsystems gettext("cannot determine boot signature for \"/\".\n\
489eb2bd662Svikram Cannot generate GRUB menu entry with EEPROM arguments.\n")
490eb2bd662Svikram 
491eb2bd662Svikram #define	GRUB_SLICE_FILE_EXISTS \
492eb2bd662Svikram 	gettext("unsupported GRUB slice file (%s) exists - ignoring.\n")
493eb2bd662Svikram 
494eb2bd662Svikram #define	GRUBSIGN_FOUND_OR_CREATED \
49548847494SEnrico Perla - Sun Microsystems gettext("found or created GRUB signature %s for %s\n")
496eb2bd662Svikram 
49748847494SEnrico Perla - Sun Microsystems #define	GET_FSTYPE_ARGS gettext("no OS mountpoint. Cannot determine fstype\n")
498eb2bd662Svikram 
499eb2bd662Svikram #define	MNTTAB_MNTPT_NOT_FOUND \
50048847494SEnrico Perla - Sun Microsystems 	gettext("failed to find OS mountpoint %s in %s\n")
501eb2bd662Svikram 
502eb2bd662Svikram #define	MNTTAB_FSTYPE_NULL gettext("NULL fstype found for OS root %s\n")
503eb2bd662Svikram 
50448847494SEnrico Perla - Sun Microsystems #define	MISSING_ARG gettext("missing argument for sub-command\n")
505eb2bd662Svikram 
50648847494SEnrico Perla - Sun Microsystems #define	INVALID_BINARY gettext("invalid or corrupted binary: %s\n")
507eb2bd662Svikram 
508eb2bd662Svikram #define	PCFS_ROOT_NOTSUP gettext("root <%s> on PCFS is not supported\n")
509eb2bd662Svikram 
510eb2bd662Svikram #define	NO_O_OSROOT gettext("OS root not specified with -o option: %s\n")
511eb2bd662Svikram 
51248847494SEnrico Perla - Sun Microsystems #define	RDONLY_FS \
513cedc7e57SEnrico Perla - Sun Microsystems 	gettext("%s filesystem is read-only, skipping archives update\n")
514eb2bd662Svikram 
515eb2bd662Svikram #define	RDONLY_TEST_ERROR gettext("error during read-only test on %s: %s\n")
516eb2bd662Svikram 
517eb2bd662Svikram #define	CANNOT_GRUBROOT_BOOTDISK \
51837eb779cSVikram Hegde 	gettext("cannot get (hd?,?,?) for menu. menu not on bootdisk: %s\n")
519eb2bd662Svikram 
520eb2bd662Svikram #define	NO_GRUBROOT_FOR_DISK \
52137eb779cSVikram Hegde 	gettext("cannot determine BIOS disk ID 'hd?' for disk: %s\n")
522eb2bd662Svikram 
523eb2bd662Svikram #define	CACHE_MNTTAB_FAIL gettext("%s: failed to cache /etc/mnttab\n")
524eb2bd662Svikram 
525eb2bd662Svikram #define	FAILED_ADD_SIGNLIST gettext("failed to add sign %s to signlist.\n")
526eb2bd662Svikram 
527eb2bd662Svikram #define	GRUBSIGN_BACKUP_MKDIRERR gettext("mkdirp() of backup dir failed: %s\n")
528eb2bd662Svikram 
529eb2bd662Svikram #define	GET_POOL_FAILED gettext("failed to get pool name from %s\n")
530eb2bd662Svikram 
531eb2bd662Svikram #define	FAIL_MNT_TOP_DATASET gettext("failed to mount top dataset for %s\n")
532eb2bd662Svikram 
533eb2bd662Svikram #define	PRIMARY_SIGN_EXISTS gettext("primary sign %s exists\n")
534eb2bd662Svikram 
535eb2bd662Svikram #define	SET_BACKUP_FAILED gettext("failed to set backup sign (%s) for %s: %s\n")
536eb2bd662Svikram 
537eb2bd662Svikram #define	SET_PRIMARY_FAILED \
538eb2bd662Svikram gettext("failed to set primary sign (%s) for %s: %s\n")
539eb2bd662Svikram 
540eb2bd662Svikram #define	GET_FSTYPE_FAILED gettext("failed to get fstype for %s\n")
541eb2bd662Svikram 
542eb2bd662Svikram #define	GET_SPECIAL_NULL_MNTPT \
54348847494SEnrico Perla - Sun Microsystems 	gettext("cannot get special file: NULL mount-point\n")
544eb2bd662Svikram 
545eb2bd662Svikram #define	GET_SPECIAL_NULL \
54648847494SEnrico Perla - Sun Microsystems 	gettext("cannot get special file for mount-point: %s\n")
547eb2bd662Svikram 
548eb2bd662Svikram #define	GET_PHYSICAL_MENU_NULL \
54948847494SEnrico Perla - Sun Microsystems 	gettext("cannot get physical device special file for menu root: %s\n")
550eb2bd662Svikram 
551eb2bd662Svikram #define	GET_GRUBSIGN_ERROR \
552eb2bd662Svikram 	gettext("failed to get grubsign for root: %s, device %s\n")
553eb2bd662Svikram 
554eb2bd662Svikram #define	FAILED_TO_ADD_BOOT_ENTRY \
555eb2bd662Svikram 	gettext("failed to add boot entry with title=%s, grub signature=%s\n")
556eb2bd662Svikram 
557eb2bd662Svikram #define	SET_DEFAULT_FAILED gettext("failed to set GRUB menu default to %d\n")
558eb2bd662Svikram 
559eb2bd662Svikram #define	REBOOT_GET_KERNEL_FAILED \
560eb2bd662Svikram gettext("reboot with arguments: error querying current boot-file settings\n")
561eb2bd662Svikram 
562eb2bd662Svikram #define	REBOOT_GET_ARGS_FAILED \
563eb2bd662Svikram gettext("reboot with arguments: error querying current boot-args settings\n")
564eb2bd662Svikram 
565eb2bd662Svikram #define	REBOOT_SET_DEFAULT_FAILED \
566eb2bd662Svikram gettext("reboot with arguments: setting GRUB menu default to %d failed\n")
567eb2bd662Svikram 
568eb2bd662Svikram #define	GET_SET_KERNEL_ADD_BOOT_ENTRY gettext("failed to add boot entry: %s\n")
569eb2bd662Svikram 
570eb2bd662Svikram #define	GET_SET_KERNEL_SET_GLOBAL gettext("failed to set default to: %d\n")
571eb2bd662Svikram 
572eb2bd662Svikram #define	NO_OPTION_ARG gettext("option has no argument: %s\n")
573eb2bd662Svikram 
574eb2bd662Svikram #define	CANT_MOUNT_POOL_DATASET \
575eb2bd662Svikram 	gettext("cannot mount pool dataset for pool: %s\n")
576eb2bd662Svikram 
577eb2bd662Svikram #define	ZFS_GET_POOL_FAILED gettext("failed to get pool for device: %s\n")
578eb2bd662Svikram 
579eb2bd662Svikram #define	ZFS_MOUNT_TOP_DATASET_FAILED \
580eb2bd662Svikram 	gettext("failed to mount top dataset for pool: %s\n")
581eb2bd662Svikram 
582eb2bd662Svikram #define	GET_POOL_OSDEV_NULL gettext("NULL device: cannot determine pool name\n")
583eb2bd662Svikram 
584eb2bd662Svikram #define	GET_POOL_BAD_OSDEV \
585eb2bd662Svikram gettext("invalid device %s: cannot determine pool name\n")
586eb2bd662Svikram 
587eb2bd662Svikram #define	POOL_SIGN_INCOMPAT \
588eb2bd662Svikram gettext("pool name %s not present in signature %s\n")
589eb2bd662Svikram 
590eb2bd662Svikram #define	INVALID_ZFS_SPECIAL \
591eb2bd662Svikram gettext("invalid device for ZFS filesystem: %s\n")
592eb2bd662Svikram 
593eb2bd662Svikram #define	CANT_FIND_POOL_FROM_SPECIAL \
594eb2bd662Svikram gettext("cannot derive ZFS pool from special: %s\n")
595eb2bd662Svikram 
596eb2bd662Svikram #define	ZFS_GET_POOL_STATUS \
597eb2bd662Svikram gettext("cannot get zpool status for pool: %s\n")
598eb2bd662Svikram 
599eb2bd662Svikram #define	BAD_ZPOOL_STATUS \
600eb2bd662Svikram gettext("bad zpool status for pool=%s\n")
601eb2bd662Svikram 
602eb2bd662Svikram #define	NO_POOL_IN_ZPOOL_STATUS \
603eb2bd662Svikram gettext("no pool name %s in zpool status\n")
604eb2bd662Svikram 
605eb2bd662Svikram #define	NO_PHYS_IN_ZPOOL_STATUS \
606eb2bd662Svikram gettext("no physical device in zpool status for pool=%s\n")
607eb2bd662Svikram 
608eb2bd662Svikram #define	UFS_GET_PHYS_NOT_SVM \
609eb2bd662Svikram gettext("not a SVM metadevice: %s. Cannot derive physical device\n")
610eb2bd662Svikram 
611eb2bd662Svikram #define	UFS_GET_PHYS_INVALID_SVM \
612eb2bd662Svikram gettext("invalid SVM metadevice name: %s. Cannot derive physical device\n")
613eb2bd662Svikram 
614eb2bd662Svikram #define	UFS_SVM_METASTAT_ERR \
615eb2bd662Svikram gettext("metastat command failed on SVM metadevice: %s\n")
616eb2bd662Svikram 
617963390b4Svikram #define	UFS_SVM_METASTAT_SVC_ERR \
618963390b4Svikram gettext("failed to start service %s for metastat command\n")
619963390b4Svikram 
620eb2bd662Svikram #define	BAD_UFS_SVM_METASTAT \
621eb2bd662Svikram gettext("bad output from metastat command on SVM metadevice: %s\n")
622eb2bd662Svikram 
623eb2bd662Svikram #define	INVALID_UFS_SVM_METASTAT \
624eb2bd662Svikram gettext("invalid fields in metastat output for SVM metadevice: %s\n")
625eb2bd662Svikram 
626eb2bd662Svikram #define	CANNOT_PARSE_UFS_SVM_METASTAT \
627eb2bd662Svikram gettext("cannot parse output of metastat command for metadevice: %s\n")
628eb2bd662Svikram 
629eb2bd662Svikram #define	CANNOT_PARSE_UFS_SVM_SUBMIRROR \
630eb2bd662Svikram gettext("cannot parse submirror line in metastat output for metadevice: %s\n")
631eb2bd662Svikram 
632eb2bd662Svikram #define	GET_PHYSICAL_NOTSUP_FSTYPE \
633eb2bd662Svikram gettext("cannot derive physical device for %s (%s), unsupported filesystem\n")
634eb2bd662Svikram 
635eb2bd662Svikram #define	ERROR_PARSE_UFS_SVM_METASTAT \
636eb2bd662Svikram gettext("error parsing metastat output for SVM metadevice: %s\n")
637eb2bd662Svikram 
638eb2bd662Svikram #define	GET_OSROOT_SPECIAL_ERR \
639eb2bd662Svikram gettext("failed to get special file for osroot: %s\n")
640eb2bd662Svikram 
641eb2bd662Svikram #define	GET_MENU_ROOT_SPECIAL_ERR \
642eb2bd662Svikram gettext("failed to get special file for menu_root: %s\n")
643eb2bd662Svikram 
644963390b4Svikram #define	GET_SVC_STATE_ERR gettext("failed to determine state of service: %s\n")
645963390b4Svikram 
646963390b4Svikram #define	SVC_IS_ONLINE_FAILED \
647963390b4Svikram 	gettext("failed to determine if service is online: %s\n")
648963390b4Svikram 
649963390b4Svikram #define	ENABLE_SVC_FAILED gettext("failed to online service: %s\n")
650963390b4Svikram 
651963390b4Svikram #define	ERR_SVC_GET_ONLINE \
652963390b4Svikram 	gettext("failed to get online status for service: %s\n")
653963390b4Svikram 
654963390b4Svikram #define	TIMEOUT_ENABLE_SVC \
655963390b4Svikram 	gettext("timed out waiting for service to online: %s\n")
656963390b4Svikram 
657963390b4Svikram #define	CANNOT_READ_LU_CKSUM \
658963390b4Svikram 	gettext("failed to read GRUB menu checksum file: %s\n")
659963390b4Svikram 
660963390b4Svikram #define	MULTIPLE_LU_CKSUM \
661963390b4Svikram 	gettext("multiple checksums for GRUB menu in checksum file: %s\n")
662963390b4Svikram 
663963390b4Svikram #define	CANNOT_PARSE_LU_CKSUM \
664963390b4Svikram 	gettext("error parsing GRUB menu checksum file: %s\n")
665963390b4Svikram 
666963390b4Svikram #define	MENU_CKSUM_FAIL \
667963390b4Svikram 	gettext("error generating checksum of GRUB menu\n")
668963390b4Svikram 
669963390b4Svikram #define	BAD_CKSUM \
670963390b4Svikram 	gettext("bad checksum generated for GRUB menu\n")
671963390b4Svikram 
672963390b4Svikram #define	BAD_CKSUM_PARSE \
673963390b4Svikram 	gettext("error parsing checksum generated for GRUB menu\n")
674963390b4Svikram 
675963390b4Svikram #define	MENU_PROP_FAIL \
676963390b4Svikram 	gettext("error propagating updated GRUB menu\n")
677963390b4Svikram 
678963390b4Svikram #define	MENU_BACKUP_FAIL \
679963390b4Svikram 	gettext("failed to create backup for GRUB menu: %s\n")
680963390b4Svikram 
681963390b4Svikram #define	BACKUP_PROP_FAIL \
682963390b4Svikram 	gettext("error propagating backup GRUB menu: %s\n")
683963390b4Svikram 
684963390b4Svikram #define	MENU_CKSUM_WRITE_FAIL \
685963390b4Svikram 	gettext("failed to write GRUB menu checksum file: %s\n")
686963390b4Svikram 
687963390b4Svikram #define	MENU_CKSUM_PROP_FAIL \
688963390b4Svikram 	gettext("error propagating GRUB menu checksum file: %s\n")
689963390b4Svikram 
690963390b4Svikram #define	BOOTADM_PROP_FAIL \
691963390b4Svikram 	gettext("error propagating bootadm: %s\n")
692963390b4Svikram 
693963390b4Svikram #define	PROP_GRUB_MENU \
694963390b4Svikram 	gettext("propagating updated GRUB menu\n")
695eb2bd662Svikram 
69648847494SEnrico Perla - Sun Microsystems #define	NEED_DIRPATH	gettext("need to create directory path for %s\n")
69748847494SEnrico Perla - Sun Microsystems 
69848847494SEnrico Perla - Sun Microsystems #define	UPDT_CACHE_FAIL	gettext("directory cache update failed for %s\n")
69948847494SEnrico Perla - Sun Microsystems 
70044da779fSWilliam Kucharski #define	NEW_BOOT_ENTRY \
70144da779fSWilliam Kucharski     gettext("unable to modify default entry; creating new boot entry for %s\n")
70244da779fSWilliam Kucharski 
703eb2bd662Svikram /*
704eb2bd662Svikram  * NOTE: The following are debug messages and not I18Ned
705eb2bd662Svikram  */
706eb2bd662Svikram 
707eb2bd662Svikram #define	D_MATCHED_TITLE "%s: matched title: %s\n"
708eb2bd662Svikram 
709eb2bd662Svikram #define	D_NOMATCH_TITLE "%s: no match title: %s, %s\n"
710eb2bd662Svikram 
711eb2bd662Svikram #define	D_MATCHED_FINDROOT "%s: matched findroot: %s\n"
712eb2bd662Svikram 
713eb2bd662Svikram #define	D_NOMATCH_FINDROOT "%s: no match findroot: %s, %s\n"
714eb2bd662Svikram 
715eb2bd662Svikram #define	D_NOMATCH_FINDROOT_NULL "%s: no match line has findroot, we don't: %s\n"
716eb2bd662Svikram 
717eb2bd662Svikram #define	D_MATCHED_ROOT "%s: matched root: %s\n"
718eb2bd662Svikram 
719eb2bd662Svikram #define	D_NOMATCH_ROOT "%s: no match root: %s, %s\n"
720eb2bd662Svikram 
721eb2bd662Svikram #define	D_NOMATCH_ROOT_NULL "%s: no match, line has root, we don't: %s\n"
722eb2bd662Svikram 
723eb2bd662Svikram #define	D_NO_ROOT_OPT "%s: root NOT optional\n"
724eb2bd662Svikram 
725eb2bd662Svikram #define	D_ROOT_OPT "%s: root IS optional\n"
726eb2bd662Svikram 
727eb2bd662Svikram #define	D_KERNEL_MATCH "%s: kernel match: %s, %s\n"
728eb2bd662Svikram 
729eb2bd662Svikram #define	D_MODULE_MATCH "%s: module match: %s, %s\n"
730eb2bd662Svikram 
731eb2bd662Svikram #define	D_UPGRADE_FROM_MULTIBOOT \
732eb2bd662Svikram 	"%s: upgrading entry from dboot to multiboot: root = %s\n"
733eb2bd662Svikram 
734eb2bd662Svikram #define	D_ENTRY_NOT_FOUND_CREATING \
735eb2bd662Svikram 	"%s: boot entry not found in menu. Creating new entry, findroot = %s\n"
736eb2bd662Svikram 
737eb2bd662Svikram #define	D_CHANGING_TITLE "%s: changing title to: %s\n"
738eb2bd662Svikram 
739eb2bd662Svikram #define	D_ADDING_FINDROOT_LINE "%s: adding findroot line: %s\n"
740eb2bd662Svikram 
741eb2bd662Svikram #define	D_ADDING_KERNEL_DOLLAR "%s: adding new kernel$ line: %s\n"
742eb2bd662Svikram 
743eb2bd662Svikram #define	D_ADDING_MODULE_DOLLAR "%s: adding new module$ line: %s\n"
744eb2bd662Svikram 
745eb2bd662Svikram #define	D_GET_GRUBROOT_SUCCESS \
746eb2bd662Svikram 	"%s: get_grubroot success. osroot=%s, osdev=%s, menu_root=%s\n"
747eb2bd662Svikram 
748eb2bd662Svikram #define	D_GET_GRUBROOT_FAILURE \
749eb2bd662Svikram 	"%s: get_grubroot failed. osroot=%s, osdev=%s, menu_root=%s\n"
750eb2bd662Svikram 
751eb2bd662Svikram #define	D_UPDATED_BOOT_ENTRY \
752eb2bd662Svikram 	"%s: updated boot entry bam_zfs=%d, grubsign = %s\n"
753eb2bd662Svikram 
754eb2bd662Svikram #define	D_UPDATED_HV_ENTRY \
755eb2bd662Svikram 	"%s: updated HV entry bam_zfs=%d, grubsign = %s\n"
756eb2bd662Svikram 
757eb2bd662Svikram #define	D_UPDATED_MULTIBOOT_ENTRY \
758eb2bd662Svikram 	"%s: updated MULTIBOOT entry grubsign = %s\n"
759eb2bd662Svikram 
760eb2bd662Svikram #define	D_UPDATED_FAILSAFE_ENTRY \
761eb2bd662Svikram 	"%s: updated FAILSAFE entry failsafe_kernel = %s\n"
762eb2bd662Svikram 
763eb2bd662Svikram #define	D_GET_GRUBSIGN_SUCCESS "%s: successfully created grubsign %s\n"
764eb2bd662Svikram 
765eb2bd662Svikram #define	D_ADD_LINE_PREV_NEXT "%s: previous next exists\n"
766eb2bd662Svikram 
767eb2bd662Svikram #define	D_ADD_LINE_NOT_PREV_NEXT "%s: previous next does not exist\n"
768eb2bd662Svikram 
769eb2bd662Svikram #define	D_ADD_LINE_LAST_LINE_IN_ENTRY "%s: last line in entry\n"
770eb2bd662Svikram 
771eb2bd662Svikram #define	D_ADD_LINE_LAST_LINE_IN_MENU "%s: last line in menu\n"
772eb2bd662Svikram 
773eb2bd662Svikram #define	D_FOUND_FINDROOT "%s: found entry with matching findroot: %s\n"
774eb2bd662Svikram 
775eb2bd662Svikram #define	D_SAVING_DEFAULT_TO "%s: saving default to: %s\n"
776eb2bd662Svikram 
777eb2bd662Svikram #define	D_SAVED_DEFAULT_TO "%s: saved default to lineNum=%d, entryNum=%d\n"
778eb2bd662Svikram 
779eb2bd662Svikram #define	D_RESTORE_DEFAULT_NULL "%s: NULL saved default\n"
780eb2bd662Svikram 
781eb2bd662Svikram #define	D_RESTORE_DEFAULT_STR "%s: saved default string: %s\n"
782eb2bd662Svikram 
783eb2bd662Svikram #define	D_RESTORED_DEFAULT_TO "%s: restored default to entryNum: %d\n"
784eb2bd662Svikram 
785eb2bd662Svikram #define	D_FUNC_ENTRY0 "%s: entered. No args\n"
786eb2bd662Svikram 
787eb2bd662Svikram #define	D_FUNC_ENTRY1 "%s: entered. arg: %s\n"
788eb2bd662Svikram 
789eb2bd662Svikram #define	D_FUNC_ENTRY2 "%s: entered. args: %s %s\n"
790eb2bd662Svikram 
791eb2bd662Svikram #define	D_FUNC_ENTRY3 "%s: entered. args: %s %s %s\n"
792eb2bd662Svikram 
793eb2bd662Svikram #define	D_FUNC_ENTRY4 "%s: entered. args: %s %s %s %s\n"
794eb2bd662Svikram 
795eb2bd662Svikram #define	D_OPT_NULL "%s: opt is NULL\n"
796eb2bd662Svikram 
797eb2bd662Svikram #define	D_TRANSIENT_NOTFOUND "%s: transient entry not found\n"
798eb2bd662Svikram 
799eb2bd662Svikram #define	D_RESTORED_DEFAULT "%s: restored old default\n"
800eb2bd662Svikram 
801eb2bd662Svikram #define	D_ENTRY_EQUALS "%s: opt has entry=: %s\n"
802eb2bd662Svikram 
803eb2bd662Svikram #define	D_ENTRY_SET_IS "%s: default set to %d, set_default ret=%d\n"
804eb2bd662Svikram 
805eb2bd662Svikram #define	D_REBOOT_RESOLVED_PARTIAL "%s: resolved partial path: %s\n"
806eb2bd662Svikram 
807eb2bd662Svikram #define	D_FOUND_GLOBAL "%s: found matching global command: %s\n"
808eb2bd662Svikram 
809eb2bd662Svikram #define	D_SET_GLOBAL_WROTE_NEW "%s: wrote new global line: %s\n"
810eb2bd662Svikram 
811eb2bd662Svikram #define	D_SET_GLOBAL_REPLACED "%s: replaced global line with: %s\n"
812eb2bd662Svikram 
813eb2bd662Svikram #define	D_ARCHIVE_LINE_NONE "%s: no module/archive line for entry: %d\n"
814eb2bd662Svikram 
815eb2bd662Svikram #define	D_ARCHIVE_LINE_NOCHANGE "%s: no change for line: %s\n"
816eb2bd662Svikram 
817eb2bd662Svikram #define	D_ARCHIVE_LINE_REPLACED "%s: replaced for line: %s\n"
818eb2bd662Svikram 
819eb2bd662Svikram #define	D_GET_SET_KERNEL_NO_RC "%s: no RC entry, nothing to report\n"
820eb2bd662Svikram 
821eb2bd662Svikram #define	D_GET_SET_KERNEL_ALREADY "%s: no reset, already has default\n"
822eb2bd662Svikram 
823eb2bd662Svikram #define	D_GET_SET_KERNEL_RESTORE_DEFAULT "%s: resetting to default\n"
824eb2bd662Svikram 
825eb2bd662Svikram #define	D_GET_SET_KERNEL_RESET_KERNEL_SET_ARG \
826eb2bd662Svikram "%s: reset kernel to default, but retained old args: %s\n"
827eb2bd662Svikram 
828eb2bd662Svikram #define	D_GET_SET_KERNEL_RESET_ARG_SET_KERNEL \
829eb2bd662Svikram "%s: reset args to default, but retained old kernel: %s\n"
830eb2bd662Svikram 
831eb2bd662Svikram #define	D_GET_SET_KERNEL_REPLACED_KERNEL_SAME_ARG \
832eb2bd662Svikram "%s: rc line exists, replaced kernel, same args: %s\n"
833eb2bd662Svikram 
834eb2bd662Svikram #define	D_GET_SET_KERNEL_SAME_KERNEL_REPLACED_ARG \
835eb2bd662Svikram "%s: rc line exists, same kernel, but new args: %s\n"
836eb2bd662Svikram 
837eb2bd662Svikram #define	D_SET_OPTION "%s: setting %s option to %s\n"
838eb2bd662Svikram 
839eb2bd662Svikram #define	D_EXPAND_PATH "%s: expanded path: %s\n"
840eb2bd662Svikram 
841eb2bd662Svikram #define	D_GET_SET_KERNEL_ARGS "%s: read menu boot-args: %s\n"
842eb2bd662Svikram 
843eb2bd662Svikram #define	D_GET_SET_KERNEL_KERN "%s: read menu boot-file: %s\n"
844eb2bd662Svikram 
845eb2bd662Svikram #define	D_BAM_ROOT "%s: bam_alt_root: %d, bam_root: %s\n"
846eb2bd662Svikram 
847eb2bd662Svikram #define	D_REBOOT_OPTION "%s: reboot with args, option specified: kern=%s\n"
848eb2bd662Svikram 
849eb2bd662Svikram #define	D_REBOOT_ABSPATH "%s: reboot with args, abspath specified: kern=%s\n"
850eb2bd662Svikram 
851eb2bd662Svikram #define	D_GET_SET_KERNEL_NEW_KERN "%s: new kernel=%s\n"
852eb2bd662Svikram 
853eb2bd662Svikram #define	D_GET_SET_KERNEL_NEW_ARG "%s: new args=%s\n"
854eb2bd662Svikram 
855eb2bd662Svikram #define	D_Z_MENU_GET_POOL_FROM_SPECIAL "%s: derived pool=%s from special\n"
856eb2bd662Svikram 
857eb2bd662Svikram #define	D_Z_GET_MENU_MOUNT_TOP_DATASET "%s: top dataset mountpoint=%s\n"
858eb2bd662Svikram 
859eb2bd662Svikram #define	D_Z_GET_MENU_MENU_ROOT "%s: zfs menu_root=%s\n"
860eb2bd662Svikram 
861eb2bd662Svikram #define	D_Z_IS_LEGACY "%s: is legacy, pool=%s\n"
862eb2bd662Svikram 
863eb2bd662Svikram #define	D_Z_IS_NOT_LEGACY "%s: is *NOT* legacy, pool=%s\n"
864eb2bd662Svikram 
865eb2bd662Svikram #define	D_Z_MOUNT_TOP_NONLEG_MOUNTED_ALREADY \
866eb2bd662Svikram 	"%s: non-legacy pool %s mounted already\n"
867eb2bd662Svikram 
868eb2bd662Svikram #define	D_Z_MOUNT_TOP_NONLEG_MOUNTED_NOT_ALREADY \
869eb2bd662Svikram 	"%s: non-legacy pool %s *NOT* already mounted\n"
870eb2bd662Svikram 
871eb2bd662Svikram #define	D_Z_MOUNT_TOP_NONLEG_MOUNTED_NOW \
872eb2bd662Svikram 	"%s: non-legacy pool %s mounted now\n"
873eb2bd662Svikram 
874eb2bd662Svikram #define	D_Z_MOUNT_TOP_NONLEG_MNTPT \
875eb2bd662Svikram 	"%s: non-legacy pool %s is mounted at %s\n"
876eb2bd662Svikram 
877eb2bd662Svikram #define	D_Z_UMOUNT_TOP_ALREADY_NOP \
878eb2bd662Svikram 	"%s: pool %s was already mounted at %s, Nothing to umount\n"
879eb2bd662Svikram 
880eb2bd662Svikram #define	D_Z_UMOUNT_TOP_LEGACY \
881eb2bd662Svikram 	"%s: legacy pool %s was mounted by us, successfully unmounted\n"
882eb2bd662Svikram 
883eb2bd662Svikram #define	D_Z_UMOUNT_TOP_NONLEG \
884eb2bd662Svikram 	"%s: nonleg pool %s was mounted by us, successfully unmounted\n"
885eb2bd662Svikram 
886eb2bd662Svikram #define	D_Z_MOUNT_TOP_LEG_ALREADY \
887eb2bd662Svikram 	"%s: legacy pool %s already mounted\n"
888eb2bd662Svikram 
889eb2bd662Svikram #define	D_Z_MOUNT_TOP_LEG_MNTPT_ABS \
890eb2bd662Svikram 	"%s: legacy pool %s mount-point %s absent\n"
891eb2bd662Svikram 
892eb2bd662Svikram #define	D_Z_MOUNT_TOP_LEG_MNTPT_PRES \
893eb2bd662Svikram 	"%s: legacy pool %s mount-point %s is already present\n"
894eb2bd662Svikram 
895eb2bd662Svikram #define	D_Z_MOUNT_TOP_LEG_MOUNTED \
896eb2bd662Svikram 	"%s: legacy pool %s successfully mounted at %s\n"
897eb2bd662Svikram 
898eb2bd662Svikram #define	D_Z_MOUNT_TOP_LEG_MOUNTED \
899eb2bd662Svikram 	"%s: legacy pool %s successfully mounted at %s\n"
900eb2bd662Svikram 
901eb2bd662Svikram #define	D_GET_MOUNTPOINT_RET \
902eb2bd662Svikram 	"%s: returning mount-point for special %s: %s\n"
903eb2bd662Svikram 
904eb2bd662Svikram #define	D_IS_ZFS "%s: is a ZFS filesystem: %s\n"
905eb2bd662Svikram 
906eb2bd662Svikram #define	D_IS_NOT_ZFS "%s: is *NOT* a ZFS filesystem: %s\n"
907eb2bd662Svikram 
908eb2bd662Svikram #define	D_IS_UFS "%s: is a UFS filesystem: %s\n"
909eb2bd662Svikram 
910eb2bd662Svikram #define	D_IS_NOT_UFS "%s: is *NOT* a UFS filesystem: %s\n"
911eb2bd662Svikram 
912eb2bd662Svikram #define	D_IS_PCFS "%s: is a PCFS filesystem: %s\n"
913eb2bd662Svikram 
914eb2bd662Svikram #define	D_IS_NOT_PCFS "%s: is *NOT* a PCFS filesystem: %s\n"
915eb2bd662Svikram 
916eb2bd662Svikram #define	D_MENU_PATH "%s: menu path is: %s\n"
917eb2bd662Svikram 
918eb2bd662Svikram #define	D_FREEING_LU_SIGNS "%s: feeing LU sign: %s\n"
919eb2bd662Svikram 
920eb2bd662Svikram #define	D_OPEN_FAIL "%s: failed to open %s: %s\n"
921eb2bd662Svikram 
922eb2bd662Svikram #define	D_GET_POOL_OSDEV "%s: osdev arg = %s\n"
923eb2bd662Svikram 
924eb2bd662Svikram #define	D_GET_POOL_RET "%s: got pool. pool = %s\n"
925eb2bd662Svikram 
926eb2bd662Svikram #define	D_GET_GRUBSIGN_NO_EXISTING "%s: no existing grubsign for %s: %s\n"
927eb2bd662Svikram 
928eb2bd662Svikram #define	D_GET_PHYSICAL_ALREADY \
929eb2bd662Svikram 	"%s: got physical device already directly for menu_root=%s special=%s\n"
930eb2bd662Svikram 
931eb2bd662Svikram #define	D_GET_PHYSICAL_RET "%s: returning physical=%s\n"
932eb2bd662Svikram 
933eb2bd662Svikram #define	D_STRTOK_ZPOOL_STATUS "%s: strtok() zpool status line=%s\n"
934eb2bd662Svikram 
935eb2bd662Svikram #define	D_FOUND_POOL_IN_ZPOOL_STATUS "%s: found pool name: %s in zpool status\n"
936eb2bd662Svikram 
937eb2bd662Svikram #define	D_COUNTING_ZFS_PHYS "%s: counting phys slices in zpool status: %d\n"
938eb2bd662Svikram 
939eb2bd662Svikram #define	D_ADDING_ZFS_PHYS "%s: adding phys slice=%s from pool %s status\n"
940eb2bd662Svikram 
941eb2bd662Svikram #define	D_FUNC_ENTRY_N1 "%s: entering args: %d\n"
942eb2bd662Svikram 
943eb2bd662Svikram #define	D_UFS_SVM_SHORT "%s: short SVM name for special=%s is %s\n"
944eb2bd662Svikram 
945eb2bd662Svikram #define	D_UFS_SVM_ONE_COMP "%s: single component %s for metadevice %s\n"
946eb2bd662Svikram 
947eb2bd662Svikram #define	D_CHECK_ON_BOOTDISK "%s: checking if phys-device=%s is on bootdisk\n"
948eb2bd662Svikram 
949eb2bd662Svikram #define	D_IS_ON_BOOTDISK "%s: phys-device=%s *IS* on bootdisk\n"
950eb2bd662Svikram 
951eb2bd662Svikram #define	D_ROOT_OPT_NOT_ZFS "%s: one or more non-ZFS filesystems (%s, %s)\n"
952eb2bd662Svikram 
953eb2bd662Svikram #define	D_ROOT_OPTIONAL_OSPECIAL "%s: ospecial=%s for osroot=%s\n"
954eb2bd662Svikram 
955eb2bd662Svikram #define	D_ROOT_OPTIONAL_MSPECIAL "%s: mspecial=%s for menu_root=%s\n"
956eb2bd662Svikram 
957eb2bd662Svikram #define	D_ROOT_OPTIONAL_FIXED_OSPECIAL "%s: FIXED ospecial=%s for osroot=%s\n"
958eb2bd662Svikram 
959eb2bd662Svikram #define	D_CHECK_CMD_CMD_NOMATCH "%s: command %s does not match %s\n"
960eb2bd662Svikram 
961eb2bd662Svikram #define	D_FINDROOT_ABSENT "%s: findroot capability absent\n"
962eb2bd662Svikram 
963eb2bd662Svikram #define	D_FINDROOT_PRESENT "%s: findroot capability present\n"
964eb2bd662Svikram 
965eb2bd662Svikram #define	D_DBOOT_PRESENT "%s: dboot capability present\n"
966eb2bd662Svikram 
967eb2bd662Svikram #define	D_XVM_PRESENT "%s: xVM capability present\n"
968eb2bd662Svikram 
969eb2bd662Svikram #define	D_IS_SPARC_DBOOT "%s: is sparc - always DBOOT\n"
970eb2bd662Svikram 
971eb2bd662Svikram #define	D_IS_DBOOT "%s: is DBOOT unix\n"
972eb2bd662Svikram 
973eb2bd662Svikram #define	D_IS_MULTIBOOT "%s: is MULTIBOOT unix\n"
974eb2bd662Svikram 
975eb2bd662Svikram #define	D_IS_XVM "%s: is xVM system\n"
976eb2bd662Svikram 
977eb2bd662Svikram #define	D_IS_NOT_XVM "%s: is *NOT* xVM system\n"
978eb2bd662Svikram 
979eb2bd662Svikram #define	D_ALREADY_BFU_TEST "%s: already done bfu test. bfu is %s present\n"
980eb2bd662Svikram 
981eb2bd662Svikram #define	D_UPDATE_LINE_BEFORE "%s: line before update: %s\n"
982eb2bd662Svikram 
983eb2bd662Svikram #define	D_UPDATE_LINE_AFTER "%s: line after update: %s\n"
984eb2bd662Svikram 
985eb2bd662Svikram #define	D_SKIP_WSPACE_PTR_NULL "%s: NULL ptr\n"
986eb2bd662Svikram 
987eb2bd662Svikram #define	D_SKIP_WSPACE_ENTRY_PTR "%s: ptr on entry: %s\n"
988eb2bd662Svikram 
989eb2bd662Svikram #define	D_SKIP_WSPACE_EXIT_PTR "%s: ptr on exit: %s\n"
990eb2bd662Svikram 
991eb2bd662Svikram #define	D_RSKIP_BSPACE_ENTRY "%s: ptr on entry: %s\n"
992eb2bd662Svikram 
993eb2bd662Svikram #define	D_RSKIP_BSPACE_EXIT "%s: ptr on exit: %s\n"
994eb2bd662Svikram 
995eb2bd662Svikram #define	D_RSKIP_BSPACE_EXIT "%s: ptr on exit: %s\n"
996eb2bd662Svikram 
997eb2bd662Svikram #define	D_NOT_MULTIBOOT_CONVERT "%s: not MULTIBOOT, not converting\n"
998eb2bd662Svikram 
999eb2bd662Svikram #define	D_TRYING_FAILSAFE_CVT_TO_DBOOT \
1000eb2bd662Svikram 	"%s: trying to convert failsafe to DBOOT\n"
1001eb2bd662Svikram 
1002eb2bd662Svikram #define	D_NO_FAILSAFE_UNIX_CONVERT "%s: no FAILSAFE unix, not converting\n"
1003eb2bd662Svikram 
1004eb2bd662Svikram #define	D_CVT_CMD_KERN_DOLLAR "%s: converted kernel cmd to %s\n"
1005eb2bd662Svikram 
100644da779fSWilliam Kucharski #define	D_CVT_CMD_MOD_DOLLAR "%s: converted module cmd to %s\n"
100744da779fSWilliam Kucharski 
1008eb2bd662Svikram #define	D_FLAGS1_UNIX_FLAGS2_NULL "%s: NULL flags1, unix, flags2\n"
1009eb2bd662Svikram 
1010eb2bd662Svikram #define	D_UNIX_PRESENT "%s: unix present\n"
1011eb2bd662Svikram 
1012eb2bd662Svikram #define	D_UNIX_PRESENT "%s: unix present\n"
1013eb2bd662Svikram 
1014eb2bd662Svikram #define	D_UNIX_ABSENT "%s: unix ABSENT\n"
1015eb2bd662Svikram 
1016eb2bd662Svikram #define	D_FLAGS2_PRESENT "%s: flags2 present: %s\n"
1017eb2bd662Svikram 
1018eb2bd662Svikram #define	D_FLAGS2_ABSENT "%s: flags2 absent\n"
1019eb2bd662Svikram 
1020eb2bd662Svikram #define	D_FLAGS1_PRESENT "%s: flags1 present: %s\n"
1021eb2bd662Svikram 
1022eb2bd662Svikram #define	D_FLAGS1_ABSENT "%s: flags1 absent\n"
1023eb2bd662Svikram 
1024eb2bd662Svikram #define	D_FLAGS1_ONLY "%s: flags1 present: %s, unix, flags2 absent\n"
1025eb2bd662Svikram 
1026eb2bd662Svikram #define	D_CVTED_UNIX "%s: converted unix: %s\n"
1027eb2bd662Svikram 
1028eb2bd662Svikram #define	D_CVTED_UNIX_AND_FLAGS "%s: converted unix with flags : %s\n"
1029eb2bd662Svikram 
1030eb2bd662Svikram #define	D_CVTED_KERNEL_LINE "%s: converted line is: %s\n"
1031eb2bd662Svikram 
1032eb2bd662Svikram #define	D_FAILSAFE_NO_CVT_NEEDED \
1033eb2bd662Svikram 	"%s: failsafe module line needs no conversion: %s\n"
1034eb2bd662Svikram 
1035eb2bd662Svikram #define	D_CVTED_MODULE "%s: converted module line is: %s\n"
1036eb2bd662Svikram 
1037eb2bd662Svikram #define	D_FORCE_HAND_CVT "%s: force specified, no warnings about hand entries\n"
1038eb2bd662Svikram 
1039eb2bd662Svikram #define	D_FOUND_HAND "%s: found hand entry #: %d\n"
1040eb2bd662Svikram 
1041eb2bd662Svikram #define	D_SKIP_ENTRY "%s: skipping hand entry #: %d\n"
1042eb2bd662Svikram 
1043eb2bd662Svikram #define	D_SKIP_ROOT_ENTRY "%s: skipping root entry #: %d\n"
1044eb2bd662Svikram 
1045eb2bd662Svikram #define	D_ENTRY_END "%s: entry has ended\n"
1046eb2bd662Svikram 
1047eb2bd662Svikram #define	D_SKIP_NULL "%s: skipping NULL line\n"
1048eb2bd662Svikram 
1049eb2bd662Svikram #define	D_ROOT_MATCH "%s: found matching root line: %s,%s\n"
1050eb2bd662Svikram 
1051eb2bd662Svikram #define	D_FINDROOT_MATCH "%s: found matching findroot line: %s,%s\n"
1052eb2bd662Svikram 
1053eb2bd662Svikram #define	D_NO_ROOT_FINDROOT "%s: no root or findroot and root is opt: %d\n"
1054eb2bd662Svikram 
1055eb2bd662Svikram #define	D_NO_MATCH "%s: no matching entry found\n"
1056eb2bd662Svikram 
1057eb2bd662Svikram #define	D_ALREADY_FINDROOT "%s: entry %d already converted to findroot\n"
1058eb2bd662Svikram 
1059eb2bd662Svikram #define	D_ADDED_FINDROOT "%s: added findroot line: %s\n"
1060eb2bd662Svikram 
1061eb2bd662Svikram #define	D_ADDED_NUMBERING "%s: updating numbering\n"
1062eb2bd662Svikram 
1063eb2bd662Svikram #define	D_ALREADY_HV "%s: entry %d already converted to xvm HV\n"
1064eb2bd662Svikram 
1065eb2bd662Svikram #define	D_ADDED_XVM_ENTRY "%s: added xVM HV entry via add_boot_entry()\n"
1066eb2bd662Svikram 
1067eb2bd662Svikram #define	D_CVT_KERNEL_FAIL "%s: cvt_kernel_line() failed\n"
1068eb2bd662Svikram 
1069eb2bd662Svikram #define	D_CVT_KERNEL_MSG "%s: BAM_MSG returned from cvt_kernel_line()\n"
1070eb2bd662Svikram 
1071eb2bd662Svikram #define	D_CVT_MODULE_FAIL "%s: cvt_module_line() failed\n"
1072eb2bd662Svikram 
1073eb2bd662Svikram #define	D_CVT_MODULE_MSG "%s: BAM_MSG returned from cvt_module_line()\n"
1074eb2bd662Svikram 
1075eb2bd662Svikram #define	D_UPDATED_NUMBERING "%s: updated numbering\n"
1076eb2bd662Svikram 
1077eb2bd662Svikram #define	D_FREEING_ROOT "%s: freeing root line: %s\n"
1078eb2bd662Svikram 
1079eb2bd662Svikram #define	D_MENU_ROOT "%s: menu root is %s\n"
1080eb2bd662Svikram 
1081eb2bd662Svikram #define	D_CLEAN_MENU_ROOT "%s: cleaned menu root is <%s>\n"
1082eb2bd662Svikram 
1083eb2bd662Svikram #define	D_BOOT_GET_CAP_FAILED "%s: Failed to get boot capability\n"
1084eb2bd662Svikram 
1085eb2bd662Svikram #define	D_WRITING_MENU_ROOT "%s: writing menu to clean-menu-root: <%s>\n"
1086eb2bd662Svikram 
1087eb2bd662Svikram #define	D_WROTE_FILE "%s: wrote file successfully: %s\n"
1088eb2bd662Svikram 
1089eb2bd662Svikram #define	D_FLIST_FAIL "%s: failed to open archive filelist: %s: %s\n"
1090eb2bd662Svikram 
1091eb2bd662Svikram #define	D_NOT_ARCHIVE_BOOT "%s: not a boot archive based Solaris instance: %s\n"
1092eb2bd662Svikram 
1093eb2bd662Svikram #define	D_IS_ARCHIVE_BOOT "%s: *IS* a boot archive based Solaris instance: %s\n"
1094eb2bd662Svikram 
1095eb2bd662Svikram #define	D_NO_GRUB_DIR "%s: Missing GRUB directory: %s\n"
1096eb2bd662Svikram 
1097eb2bd662Svikram #define	D_RDONLY_FS "%s: is a READONLY filesystem: %s\n"
1098eb2bd662Svikram 
1099eb2bd662Svikram #define	D_RDWR_FS "%s: is a RDWR filesystem: %s\n"
1100eb2bd662Svikram 
1101eb2bd662Svikram #define	D_ENTRY_NEW "%s: new boot entry alloced\n"
1102eb2bd662Svikram 
1103eb2bd662Svikram #define	D_ENTRY_NEW_FIRST "%s: (first) new boot entry created\n"
1104eb2bd662Svikram 
1105eb2bd662Svikram #define	D_ENTRY_NEW_LINKED "%s: new boot entry linked in\n"
1106eb2bd662Svikram 
1107eb2bd662Svikram #define	D_NOT_KERNEL_CMD "%s: not a kernel command: %s\n"
1108eb2bd662Svikram 
1109eb2bd662Svikram #define	D_SET_DBOOT_32 "%s: setting DBOOT|DBOOT_32 flag: %s\n"
1110eb2bd662Svikram 
1111eb2bd662Svikram #define	D_SET_DBOOT "%s: setting DBOOT flag: %s\n"
1112eb2bd662Svikram 
1113eb2bd662Svikram #define	D_SET_DBOOT_64 "%s: setting DBOOT|DBOOT_64 flag: %s\n"
1114eb2bd662Svikram 
1115eb2bd662Svikram #define	D_SET_DBOOT_FAILSAFE "%s: setting DBOOT|DBOOT_FAILSAFE flag: %s\n"
1116eb2bd662Svikram 
1117bbcc54bdSEnrico Perla - Sun Microsystems #define	D_SET_DBOOT_FAILSAFE_32 \
1118bbcc54bdSEnrico Perla - Sun Microsystems 	"%s: setting DBOOT|DBOOT_FAILSAFE|DBOOT_32 flag: %s\n"
1119bbcc54bdSEnrico Perla - Sun Microsystems 
1120bbcc54bdSEnrico Perla - Sun Microsystems #define	D_SET_DBOOT_FAILSAFE_64 \
1121bbcc54bdSEnrico Perla - Sun Microsystems 	"%s: setting DBOOT|DBOOT_FAILSAFE|DBOOT_64 flag: %s\n"
1122bbcc54bdSEnrico Perla - Sun Microsystems 
1123eb2bd662Svikram #define	D_SET_MULTIBOOT "%s: setting MULTIBOOT flag: %s\n"
1124eb2bd662Svikram 
1125eb2bd662Svikram #define	D_SET_MULTIBOOT_FAILSAFE \
1126eb2bd662Svikram 	"%s: setting MULTIBOOT|MULTIBOOT_FAILSAFE flag: %s\n"
1127eb2bd662Svikram 
1128eb2bd662Svikram #define	D_SET_HV "%s: setting XEN HV flag: %s\n"
1129eb2bd662Svikram 
113048847494SEnrico Perla - Sun Microsystems #define	D_REC_MKDIR "%s: making recursive directory %s\n"
113148847494SEnrico Perla - Sun Microsystems 
1132eb2bd662Svikram #define	D_SET_HAND_KERNEL "%s: is HAND kernel flag: %s\n"
1133eb2bd662Svikram 
1134eb2bd662Svikram #define	D_IS_UNKNOWN_KERNEL "%s: is UNKNOWN kernel entry: %s\n"
1135eb2bd662Svikram 
1136eb2bd662Svikram #define	D_NOT_MODULE_CMD "%s: not module cmd: %s\n"
1137eb2bd662Svikram 
1138eb2bd662Svikram #define	D_BOOTADM_LU_MODULE "%s: bootadm or LU module cmd: %s\n"
1139eb2bd662Svikram 
1140eb2bd662Svikram #define	D_IS_HAND_MODULE "%s: is HAND module: %s\n"
1141eb2bd662Svikram 
1142eb2bd662Svikram #define	D_IS_UNKNOWN_MODULE "%s: is UNKNOWN module: %s\n"
1143eb2bd662Svikram 
1144eb2bd662Svikram #define	D_IS_BOOTADM_ENTRY "%s: is bootadm(1M) entry: %s\n"
1145eb2bd662Svikram 
1146eb2bd662Svikram #define	D_IS_LU_ENTRY "%s: is LU entry: %s\n"
1147eb2bd662Svikram 
1148eb2bd662Svikram #define	D_IS_ROOT_CMD "%s: setting ROOT: %s\n"
1149eb2bd662Svikram 
1150eb2bd662Svikram #define	D_IS_FINDROOT_CMD "%s: setting FINDROOT: %s\n"
1151eb2bd662Svikram 
115248847494SEnrico Perla - Sun Microsystems #define	D_CMDLINE  "%s: executing: %s\n"
115348847494SEnrico Perla - Sun Microsystems 
1154eb2bd662Svikram #define	D_IS_CHAINLOADER_CMD "%s: setting CHAINLOADER: %s\n"
1155eb2bd662Svikram 
115644da779fSWilliam Kucharski #define	D_NO_BOOTENVRC "could not open %s: %s\n"
115744da779fSWilliam Kucharski 
1158eb2bd662Svikram #define	D_ADD_FINDROOT_NUM "%s: findroot added: line#: %d: entry#: %d\n"
1159eb2bd662Svikram 
1160eb2bd662Svikram #define	D_FREEING_LINE "%s: freeing line: %d\n"
1161eb2bd662Svikram 
1162eb2bd662Svikram #define	D_FREEING_ENTRY "%s: freeing entry: %d\n"
1163eb2bd662Svikram 
1164eb2bd662Svikram #define	D_CREATED_DISKMAP "%s: created diskmap file: %s\n"
1165eb2bd662Svikram 
1166eb2bd662Svikram #define	D_CREATE_DISKMAP_FAIL "%s: FAILED to create diskmap file: %s\n"
1167eb2bd662Svikram 
1168eb2bd662Svikram #define	D_NO_SIGNDIR "%s: no sign dir: %s\n"
1169eb2bd662Svikram 
1170eb2bd662Svikram #define	D_EXIST_BACKUP_SIGNS \
1171eb2bd662Svikram "%s: found backup signs: zfs=%s ufs=%s lu=%s\n"
1172eb2bd662Svikram 
1173eb2bd662Svikram #define	D_RETURN_SUCCESS "%s: returning SUCCESS\n"
1174eb2bd662Svikram 
1175eb2bd662Svikram #define	D_RETURN_FAILURE "%s: returning FAILURE\n"
1176eb2bd662Svikram 
1177eb2bd662Svikram #define	D_RETURN_RET "%s: returning ret = %d\n"
1178eb2bd662Svikram 
1179eb2bd662Svikram #define	D_EXIST_PRIMARY_SIGN "%s: existing primary sign: %s\n"
1180eb2bd662Svikram 
1181eb2bd662Svikram #define	D_EXIST_BACKUP_SIGN "%s: existing backup sign: %s\n"
1182eb2bd662Svikram 
1183eb2bd662Svikram #define	D_EXIST_PRIMARY_SIGNS \
1184eb2bd662Svikram "%s: found primary signs: zfs=%s ufs=%s lu=%s\n"
1185eb2bd662Svikram 
1186eb2bd662Svikram #define	D_CHECK_UFS_EXIST_SIGN "%s: checking for existing UFS sign\n"
1187eb2bd662Svikram 
1188eb2bd662Svikram #define	D_CHECK_ZFS_EXIST_SIGN "%s: checking for existing ZFS sign\n"
1189eb2bd662Svikram 
1190eb2bd662Svikram #define	D_NO_MNTPT "%s: no mount-point for special=%s and fstype=%s\n"
1191eb2bd662Svikram 
1192eb2bd662Svikram #define	D_CACHE_MNTS \
1193eb2bd662Svikram "%s: caching mount: special=%s, mntpt=%s, fstype=%s\n"
1194eb2bd662Svikram 
1195eb2bd662Svikram #define	D_MNTTAB_HASH_NOMATCH "%s: no match in cache for: %s\n"
1196eb2bd662Svikram 
1197eb2bd662Svikram #define	D_MNTTAB_HASH_MATCH "%s: *MATCH* in cache for: %s\n"
1198eb2bd662Svikram 
1199eb2bd662Svikram #define	D_NO_SIGN_TO_LIST "%s: no sign on %s to add to signlist\n"
1200eb2bd662Svikram 
1201eb2bd662Svikram #define	D_SIGN_LIST_PUTS_DONE \
1202eb2bd662Svikram "%s: successfully added sign on %s to signlist\n"
1203eb2bd662Svikram 
1204eb2bd662Svikram #define	D_SLICE_ENOENT "%s: slice does not exist: %s\n"
1205eb2bd662Svikram 
1206eb2bd662Svikram #define	D_VTOC_SIZE_ZERO "%s: VTOC: skipping 0-length slice: %s\n"
1207eb2bd662Svikram 
1208eb2bd662Svikram #define	D_VTOC_NOT_ROOT_TAG "%s: VTOC: unsupported tag, skipping: %s\n"
1209eb2bd662Svikram 
1210eb2bd662Svikram #define	D_VTOC_ROOT_TAG "%s: VTOC: supported tag, checking: %s\n"
1211eb2bd662Svikram 
1212eb2bd662Svikram #define	D_VTOC_NOT_RDWR_FLAG "%s: VTOC: non-RDWR flag, skipping: %s\n"
1213eb2bd662Svikram 
1214eb2bd662Svikram #define	D_VTOC_RDWR_FLAG "%s: VTOC: RDWR flag, checking: %s\n"
1215eb2bd662Svikram 
1216eb2bd662Svikram #define	D_EFI_SIZE_ZERO "%s: EFI: skipping 0-length slice: %s\n"
1217eb2bd662Svikram 
1218eb2bd662Svikram #define	D_EFI_NOT_ROOT_TAG "%s: EFI: unsupported tag, skipping: %s\n"
1219eb2bd662Svikram 
1220eb2bd662Svikram #define	D_EFI_ROOT_TAG "%s: EFI: supported tag, checking: %s\n"
1221eb2bd662Svikram 
1222eb2bd662Svikram #define	D_EFI_NOT_RDWR_FLAG "%s: EFI: non-RDWR flag, skipping: %s\n"
1223eb2bd662Svikram 
1224eb2bd662Svikram #define	D_EFI_RDWR_FLAG "%s: EFI: RDWR flag, checking: %s\n"
1225eb2bd662Svikram 
1226eb2bd662Svikram #define	D_SLICE0_ENOENT "%s: slice 0 does not exist: %s\n"
1227eb2bd662Svikram 
1228eb2bd662Svikram #define	D_VTOC_READ_FAIL "%s: VTOC: failed to read: %s\n"
1229eb2bd662Svikram 
1230eb2bd662Svikram #define	D_VTOC_INVALID "%s: VTOC: is INVALID: %s\n"
1231eb2bd662Svikram 
1232eb2bd662Svikram #define	D_VTOC_UNKNOWN_ERR "%s: VTOC: unknown error while reading: %s\n"
1233eb2bd662Svikram 
1234eb2bd662Svikram #define	D_VTOC_NOTSUP "%s: VTOC: not supported: %s\n"
1235eb2bd662Svikram 
1236eb2bd662Svikram #define	D_VTOC_READ_SUCCESS "%s: VTOC: SUCCESS reading: %s\n"
1237eb2bd662Svikram 
1238eb2bd662Svikram #define	D_VTOC_UNKNOWN_RETCODE "%s: VTOC: READ: unknown return code: %s\n"
1239eb2bd662Svikram 
1240eb2bd662Svikram #define	D_EFI_READ_FAIL "%s: EFI: failed to read: %s\n"
1241eb2bd662Svikram 
1242eb2bd662Svikram #define	D_EFI_INVALID "%s: EFI: is INVALID: %s\n"
1243eb2bd662Svikram 
1244eb2bd662Svikram #define	D_EFI_UNKNOWN_ERR "%s: EFI: unknown error while reading: %s\n"
1245eb2bd662Svikram 
1246eb2bd662Svikram #define	D_EFI_NOTSUP "%s: EFI: not supported: %s\n"
1247eb2bd662Svikram 
1248eb2bd662Svikram #define	D_EFI_READ_SUCCESS "%s: EFI: SUCCESS reading: %s\n"
1249eb2bd662Svikram 
1250eb2bd662Svikram #define	D_EFI_UNKNOWN_RETCODE "%s: EFI: READ: unknown return code: %s\n"
1251eb2bd662Svikram 
1252eb2bd662Svikram #define	D_NOT_VTOC_OR_EFI "%s: disk has neither VTOC nor EFI: %s\n"
1253eb2bd662Svikram 
1254eb2bd662Svikram #define	D_SKIP_SLICE_NOTZERO "%s: skipping non-s0 slice: %s\n"
1255eb2bd662Svikram 
1256eb2bd662Svikram #define	D_FOUND_HOLE_SIGNLIST "%s: found hole %d in sign list.\n"
1257eb2bd662Svikram 
1258eb2bd662Svikram #define	D_ZERO_LEN_SIGNLIST "%s: generated zero length signlist: %s.\n"
1259eb2bd662Svikram 
1260eb2bd662Svikram #define	D_CREATED_ZFS_SIGN "%s: created ZFS sign: %s\n"
1261eb2bd662Svikram 
1262eb2bd662Svikram #define	D_CREATE_NEW_UFS "%s: created new UFS sign\n"
1263eb2bd662Svikram 
1264eb2bd662Svikram #define	D_CREATE_NEW_ZFS "%s: created new ZFS sign\n"
1265eb2bd662Svikram 
1266eb2bd662Svikram #define	D_CREATED_NEW_SIGN "%s: created new sign: %s\n"
1267eb2bd662Svikram 
1268eb2bd662Svikram #define	D_FOUND_IN_BACKUP "%s: found sign (%s) in backup.\n"
1269eb2bd662Svikram 
1270eb2bd662Svikram #define	D_NOT_FOUND_IN_EXIST_BACKUP \
1271eb2bd662Svikram 	"%s: backup exists but sign %s not found\n"
1272eb2bd662Svikram 
1273eb2bd662Svikram #define	D_BACKUP_NOT_EXIST "%s: no backup file (%s) found.\n"
1274eb2bd662Svikram 
1275eb2bd662Svikram #define	D_BACKUP_DIR_NOEXIST "%s: backup dir (%s) does not exist.\n"
1276eb2bd662Svikram 
1277eb2bd662Svikram #define	D_SET_BACKUP_UFS "%s: setting UFS backup sign\n"
1278eb2bd662Svikram 
1279eb2bd662Svikram #define	D_SET_BACKUP_ZFS "%s: setting ZFS backup sign\n"
1280eb2bd662Svikram 
1281eb2bd662Svikram #define	D_PRIMARY_NOT_EXIST "%s: primary sign (%s) does not exist\n"
1282eb2bd662Svikram 
1283eb2bd662Svikram #define	D_PRIMARY_DIR_NOEXIST "%s: primary signdir (%s) does not exist\n"
1284eb2bd662Svikram 
1285eb2bd662Svikram #define	D_SET_PRIMARY_UFS "%s: setting UFS primary sign\n"
1286eb2bd662Svikram 
1287eb2bd662Svikram #define	D_SET_PRIMARY_ZFS "%s: setting ZFS primary sign\n"
1288eb2bd662Svikram 
1289eb2bd662Svikram #define	D_GET_TITLE "%s: got title: %s\n"
1290eb2bd662Svikram 
1291eb2bd662Svikram #define	D_GET_SPECIAL_NOT_IN_MNTTAB \
1292eb2bd662Svikram 	"%s: Cannot get special file:  mount-point %s not in mnttab\n"
1293eb2bd662Svikram 
1294eb2bd662Svikram #define	D_GET_SPECIAL "%s: returning special: %s\n"
1295eb2bd662Svikram 
1296eb2bd662Svikram #define	D_MENU_WRITE_ENTER "%s: entered menu_write() for root: <%s>\n"
1297eb2bd662Svikram 
1298963390b4Svikram #define	D_GOT_SVC_STATUS "%s: got status for service: %s\n"
1299963390b4Svikram 
1300963390b4Svikram #define	D_SVC_ONLINE "%s: service is online: %s\n"
1301963390b4Svikram 
1302963390b4Svikram #define	D_SVC_NOT_ONLINE "%s: service is *NOT* online(%s): %s\n"
1303963390b4Svikram 
1304963390b4Svikram #define	D_SVC_ALREADY_ONLINE "%s: service is already online: %s\n"
1305963390b4Svikram 
1306963390b4Svikram #define	D_SVC_ONLINE_INITIATED "%s: initiated online of service: %s\n"
1307963390b4Svikram 
1308963390b4Svikram #define	D_SVC_NOW_ONLINE "%s: service is NOW online: %s\n"
1309963390b4Svikram 
1310963390b4Svikram #define	D_NOT_LU_BE "%s: not a Live Upgrade BE\n"
1311963390b4Svikram 
1312963390b4Svikram #define	D_NO_CKSUM_FILE "%s: checksum file absent: %s\n"
1313963390b4Svikram 
1314963390b4Svikram #define	D_CKSUM_FILE_OPENED "%s: opened checksum file: %s\n"
1315963390b4Svikram 
1316963390b4Svikram #define	D_CKSUM_FILE_READ "%s: read checksum file: %s\n"
1317963390b4Svikram 
1318963390b4Svikram #define	D_CKSUM_FILE_PARSED "%s: parsed checksum file: %s\n"
1319963390b4Svikram 
1320963390b4Svikram #define	D_CKSUM_GEN_SUCCESS "%s: successfully generated checksum\n"
1321963390b4Svikram 
1322963390b4Svikram #define	D_CKSUM_GEN_OUTPUT_VALID "%s: generated checksum output valid\n"
1323963390b4Svikram 
1324963390b4Svikram #define	D_CKSUM_GEN_PARSED "%s: successfully parsed generated checksum\n"
1325963390b4Svikram 
1326963390b4Svikram #define	D_CKSUM_NO_CHANGE "%s: no change in checksum of GRUB menu\n"
1327963390b4Svikram 
1328963390b4Svikram #define	D_CKSUM_HAS_CHANGED "%s: checksum of GRUB menu has changed\n"
1329963390b4Svikram 
1330963390b4Svikram #define	D_PROPAGATED_MENU "%s: successfully propagated GRUB menu\n"
1331963390b4Svikram 
1332963390b4Svikram #define	D_CREATED_BACKUP "%s: successfully created backup GRUB menu: %s\n"
1333963390b4Svikram 
1334963390b4Svikram #define	D_PROPAGATED_BACKUP "%s: successfully propagated backup GRUB menu: %s\n"
1335963390b4Svikram 
1336963390b4Svikram #define	D_CREATED_CKSUM_FILE "%s: successfully created checksum file: %s\n"
1337963390b4Svikram 
1338963390b4Svikram #define	D_PROPAGATED_CKSUM_FILE \
1339963390b4Svikram 	"%s: successfully propagated checksum file: %s\n"
1340963390b4Svikram 
1341963390b4Svikram #define	D_PROPAGATED_BOOTADM \
1342963390b4Svikram 	"%s: successfully propagated bootadm: %s\n"
1343963390b4Svikram 
13447c478bd9Sstevel@tonic-gate #ifdef	__cplusplus
13457c478bd9Sstevel@tonic-gate }
13467c478bd9Sstevel@tonic-gate #endif
13477c478bd9Sstevel@tonic-gate 
13487c478bd9Sstevel@tonic-gate #endif /* _MESSAGE_H */
1349