Lines Matching defs:osroot
653 parse_bootenvrc(char *osroot)
662 assert(osroot);
664 len = strlen(osroot) + strlen(BOOTRC_FILE) + 1;
667 (void) snprintf(rcpath, len, "%s%s", osroot, BOOTRC_FILE);
751 cvt_to_hyper(menu_t *mp, char *osroot, char *extra_args)
776 assert(osroot);
778 BAM_DPRINTF((D_FUNC_ENTRY2, fcn, osroot, extra_args));
781 * First just check to verify osroot is a sane directory.
783 if ((osdev = get_special(osroot)) == NULL) {
784 bam_error(CANT_FIND_SPECIAL, osroot);
791 * While the effect is purely cosmetic, if osroot is "/" don't
795 if (strcmp(osroot, "/") == 0)
796 osroot = "";
823 parse_bootenvrc(osroot);
911 len = strlen(osroot) + strlen(XEN_MENU) + strlen(kern_bargs) +
918 (void) snprintf(kernel, len, "%s%s %s", osroot,
923 (void) snprintf(kernel, len, "%s%s", osroot, XEN_MENU);
992 bam_error(HYPER_ABORT, ((*osroot == NULL) ? "/" : osroot));
999 cvt_to_metal(menu_t *mp, char *osroot, char *menu_root)
1024 assert(osroot);
1026 BAM_DPRINTF((D_FUNC_ENTRY2, fcn, osroot, ""));
1029 * First just check to verify osroot is a sane directory.
1031 if ((osdev = get_special(osroot)) == NULL) {
1032 bam_error(CANT_FIND_SPECIAL, osroot);
1146 parse_bootenvrc(osroot);
1252 bam_error(METAL_ABORT, osroot);