Home | History | Annotate | Download | only in fdisk

Lines Matching defs:boot_path

136 static char *boot_path = NULL;			/* name of file we actually opened */
1053 if (boot_path != NULL)
1054 free(boot_path);
1056 asprintf(&boot_path, "%s/%s", boot_dir, name);
1058 boot_path = strdup(name);
1059 if (boot_path == NULL)
1062 if ((bfd = open(boot_path, O_RDONLY)) < 0 || fstat(bfd, &st) == -1) {
1063 warn("%s", boot_path);
1068 warnx("%s: bootcode too large", boot_path);
1073 warnx("%s: bootcode too small", boot_path);
1077 warn("%s", boot_path);
1082 warnx("%s: invalid magic", boot_path);
1489 "required bootsel options", boot_path );
1494 boot_path))
1515 boot_path, bootcode[0].mbr_bootsel.mbrbs_flags,
1519 if (!f_flag && !yesno("Update the bootcode from %s?", boot_path))