Searched refs:osroot (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_upgrade.c | 50 get_findroot_cap(const char *osroot) in get_findroot_cap() argument 62 osroot, "boot/grub/capability"); in get_findroot_cap() 106 get_boot_cap(const char *osroot) in get_boot_cap() argument 136 (void) snprintf(fname, PATH_MAX, "%s/%s", osroot, in get_boot_cap() 141 (void) snprintf(fname, PATH_MAX, "%s/%s", osroot, in get_boot_cap() 214 get_findroot_cap(osroot); in get_boot_cap() 358 cvt_kernel_line(line_t *line, const char *osroot, entry_t *entry) in cvt_kernel_line() argument 370 BAM_DPRINTF((D_FUNC_ENTRY2, fcn, line->line, osroot)); in cvt_kernel_line() 389 (void) snprintf(path, PATH_MAX, "%s%s", osroot, in cvt_kernel_line() 391 (void) snprintf(path_64, PATH_MAX, "%s%s", osroot, in cvt_kernel_line() [all …]
|
H A D | bootadm_hyper.c | 653 parse_bootenvrc(char *osroot) in parse_bootenvrc() argument 662 assert(osroot); in parse_bootenvrc() 664 len = strlen(osroot) + strlen(BOOTRC_FILE) + 1; in parse_bootenvrc() 667 (void) snprintf(rcpath, len, "%s%s", osroot, BOOTRC_FILE); in parse_bootenvrc() 751 cvt_to_hyper(menu_t *mp, char *osroot, char *extra_args) in cvt_to_hyper() argument 776 assert(osroot); in cvt_to_hyper() 778 BAM_DPRINTF((D_FUNC_ENTRY2, fcn, osroot, extra_args)); in cvt_to_hyper() 783 if ((osdev = get_special(osroot)) == NULL) { in cvt_to_hyper() 784 bam_error(CANT_FIND_SPECIAL, osroot); in cvt_to_hyper() 795 if (strcmp(osroot, "/") == 0) in cvt_to_hyper() [all …]
|
H A D | bootadm.h | 176 extern error_t get_boot_cap(const char *osroot); 184 extern char *get_grubsign(char *osroot, char *osdev); 185 extern char *get_grubroot(char *osroot, char *osdev, char *menu_root); 186 extern int root_optional(char *osroot, char *menu_root);
|
H A D | bootadm.c | 1000 char *osroot; in bam_menu() local 1022 osdev = osroot = NULL; in bam_menu() 1029 osroot = strtok(NULL, ","); in bam_menu() 1030 if (osroot) { in bam_menu() 1032 if (realpath(osroot, rootbuf) == NULL) { in bam_menu() 1033 bam_error(CANT_RESOLVE, osroot, in bam_menu() 4882 create_diskmap(char *osroot) in create_diskmap() argument 4894 ret = snprintf(path, sizeof (path), "%s/%s", osroot, in create_diskmap() 4897 bam_error(PATH_TOO_LONG, osroot); in create_diskmap() 4904 "%s/%s > /dev/null", osroot, CREATE_DISKMAP); in create_diskmap() [all …]
|