/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_upgrade.c | 49 get_findroot_cap(const char *osroot) argument 61 osroot, "boot/grub/capability"); 107 get_boot_cap(const char *osroot) argument 126 (void) snprintf(fname, PATH_MAX, "%s/%s", osroot, 201 get_findroot_cap(osroot); 346 cvt_kernel_line(line_t *line, const char *osroot, entry_t *entry) argument 358 BAM_DPRINTF(("%s: entered. args: %s %s\n", fcn, line->line, osroot)); 377 (void) snprintf(path, PATH_MAX, "%s%s", osroot, 379 (void) snprintf(path_64, PATH_MAX, "%s%s", osroot, 565 bam_warn_hand_entries(menu_t *mp, char *osroot) argument 829 bam_add_dboot( menu_t *mp, char *osroot, char *grubsign, char *grubroot, int root_opt) argument 914 upgrade_menu(menu_t *mp, char *osroot, char *menu_root) argument [all...] |
H A D | bootadm_hyper.c | 656 parse_bootenvrc(char *osroot) argument 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) argument 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); 1013 cvt_to_metal(menu_t *mp, char *osroot, char *menu_root) argument [all...] |
H A D | bootadm.h | 212 extern error_t get_boot_cap(const char *osroot); 220 extern char *get_grubsign(char *osroot, char *osdev); 221 extern char *get_grubroot(char *osroot, char *osdev, char *menu_root); 222 extern int root_optional(char *osroot, char *menu_root);
|
H A D | bootadm.c | 1294 char *osroot; local 1317 osdev = osroot = NULL; 1324 osroot = strtok(NULL, ","); 1325 if (osroot) { 1326 /* fixup bam_root so that it points at osroot */ 1327 if (realpath(osroot, rootbuf) == NULL) { 1329 osroot, strerror(errno)); 5366 create_diskmap(char *osroot) argument 5378 ret = snprintf(path, sizeof (path), "%s/%s", osroot, 5382 "path too long\n"), osroot); 5510 get_grubroot(char *osroot, char *osdev, char *menu_root) argument 5779 find_ufs_existing(char *osroot) argument 6245 find_existing_sign(char *osroot, char *osdev, char *fstype) argument 7089 get_fstype(char *osroot) argument 7292 set_backup_ufs(char *osroot, char *sign) argument 7343 set_backup(char *osroot, char *osdev, char *sign, char *fstype) argument 7439 set_primary_ufs(char *osroot, char *sign) argument 7500 set_primary(char *osroot, char *osdev, char *sign, char *fstype) argument 7625 set_signature(char *osroot, char *osdev, char *sign, char *fstype) argument 7657 get_grubsign(char *osroot, char *osdev) argument 8266 is_bootdisk(char *osroot, char *physical) argument 8311 menu_on_bootdisk(char *osroot, char *menu_root) argument 8717 root_optional(char *osroot, char *menu_root) argument 8796 char osroot[PATH_MAX]; local [all...] |
H A D | bootadm_loader.c | 344 char *osroot; local 361 osdev = osroot = NULL; 368 osroot = strtok(NULL, ","); 369 if (osroot) { 370 /* fixup bam_root so that it points at osroot */ 371 if (realpath(osroot, rootbuf) == NULL) { 373 osroot, strerror(errno)); 1200 disable_hyper(struct menu_lst *menu, char *osroot, char *opt) argument 1211 enable_hyper(struct menu_lst *menu, char *osroot, char *opt) argument
|