Lines Matching refs:osroot
656 parse_bootenvrc(char *osroot)
665 assert(osroot);
667 len = strlen(osroot) + strlen(BOOTRC_FILE) + 1;
670 (void) snprintf(rcpath, len, "%s%s", osroot, BOOTRC_FILE);
755 cvt_to_hyper(menu_t *mp, char *osroot, char *extra_args)
780 assert(osroot);
782 BAM_DPRINTF(("%s: entered. args: %s %s\n", fcn, osroot, extra_args));
785 * First just check to verify osroot is a sane directory.
787 if ((osdev = get_special(osroot)) == NULL) {
789 osroot);
796 * While the effect is purely cosmetic, if osroot is "/" don't
800 if (strcmp(osroot, "/") == 0)
801 osroot = "";
829 parse_bootenvrc(osroot);
922 len = strlen(osroot) + strlen(XEN_MENU) + strlen(kern_bargs) +
929 (void) snprintf(kernel, len, "%s%s %s", osroot,
934 (void) snprintf(kernel, len, "%s%s", osroot, XEN_MENU);
1006 ((*osroot == NULL) ? "/" : osroot));
1013 cvt_to_metal(menu_t *mp, char *osroot, char *menu_root)
1038 assert(osroot);
1040 BAM_DPRINTF(("%s: entered. args: %s %s\n", fcn, osroot, ""));
1043 * First just check to verify osroot is a sane directory.
1045 if ((osdev = get_special(osroot)) == NULL) {
1047 osroot);
1166 parse_bootenvrc(osroot);
1274 "with a metal kernel.\nAborting.\n"), osroot);