Home
last modified time | relevance | path

Searched refs:bam_root (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_loader.c58 extern char *bam_root;
428 assert(bam_root); in bam_loader_menu()
430 (void) strlcpy(menu_root, bam_root, sizeof (menu_root)); in bam_loader_menu()
447 bam_root = rootbuf; in bam_loader_menu()
462 assert(strcmp(menu_root, bam_root) == 0); in bam_loader_menu()
540 ret = f(&menu, bam_root, menu_root); in bam_loader_menu()
552 ret = f(&menu, bam_root, NULL); in bam_loader_menu()
598 ret = f(&menu, bam_root, extra_args); in bam_loader_menu()
695 bam_root); in set_option()
1112 (void) snprintf(path, PATH_MAX, "%s" TRANSIENT, bam_root); in update_temp()
[all …]
H A Dbootadm.c230 char *bam_root; variable
550 if (is_grub(bam_alt_root ? bam_root : "/")) { in main()
775 if (bam_root) { in parse_args_internal()
787 bam_root = rootbuf; in parse_args_internal()
920 if (bam_root == NULL) { in check_subcmd_and_options()
921 bam_root = rootbuf; in check_subcmd_and_options()
1107 if (stat(bam_root, &statbuf) != 0) { in install_bootloader()
1108 bam_error(_("stat of file failed: %s: %s\n"), bam_root, in install_bootloader()
1130 bam_root); in install_bootloader()
1335 if (!is_grub(bam_alt_root ? bam_root : "/")) { in bam_menu()
[all …]