/src/sbin/gpt/ |
biosboot.c | 75 "[-A] [-c bootcode] [-i index] [-L label] [-b startsec]", 128 gpt_warnx(gpt, "The bootcode in `%s' does not match the" 174 struct mbr *mbr, *bootcode; local in function:biosboot 196 if ((bootcode = read_boot(gpt, bootpath)) == NULL) { 197 gpt_warnx(gpt, "Error reading bootcode"); 200 (void)memcpy(&mbr->mbr_code, &bootcode->mbr_code, 202 free(bootcode);
|
/src/sbin/newfs_msdos/ |
mkfs_msdos.c | 200 static u_int8_t bootcode[] = { variable in typeref:typename:u_int8_t[] 727 memcpy(img + x1, bootcode, sizeof(bootcode));
|
/src/usr.sbin/sysinst/arch/i386/ |
md.c | 541 const char *bootcode; local in function:md_check_mbr 648 bootcode = fl & MBR_BS_EXTLBA ? _PATH_BOOTEXT : _PATH_BOOTSEL; 650 bootcode = _PATH_MBR; 658 /* Check there is some bootcode at all... */ 683 if (md_read_bootcode(bootcode, &mbri->mbr) == 0) 688 msg_fmt_display("Can't find %s", "%s", bootcode);
|
/src/sbin/fdisk/ |
fdisk.c | 211 static int i_flag; /* init bootcode */ 233 static struct mbr_sector bootcode[8192 / sizeof (struct mbr_sector)]; variable in typeref:struct:mbr_sector[] 236 static int bootsize; /* actual size of bootcode */ 437 case 'i': /* Always update bootcode */ 485 bootsize = read_boot(optarg, bootcode, 486 sizeof bootcode, 1); 660 "%*s[-c bootcode] " 1068 warnx("%s: bootcode too large", boot_path); 1073 warnx("%s: bootcode too small", boot_path); 1106 bootsize = read_boot(DEFAULT_BOOTCODE, bootcode, [all...] |