bootfile
uint8_t bootfile[128]; /* boot filename */
uint8_t bootfile[128]; /* boot filename */
extern char bootfile[128];
strncpy(bootfile, (char *)bp->bp_file, sizeof(bootfile));
bootfile[sizeof(bootfile) - 1] = '\0';
char bootfile[FNAME_SIZE]; /* bootp says to boot this */
extern char bootfile[FNAME_SIZE];
struct bootfile ntm_bootfile;
bcopy(bp->b_data, &ntmp->ntm_bootfile, sizeof(struct bootfile));
bootstrap(int devfd, char *dev, char *bootfile)
fprintf(stderr, "reading bootstrap from %s\n", bootfile);
fd = open(bootfile, O_RDONLY);
err(1, "open %s", bootfile);
err(1, "fstat %s", bootfile);
fprintf(stderr, "reading bootstrap from %s\n", bootfile);
fd = open(bootfile, O_RDONLY);
err(1, "open %s", bootfile);
err(1, "fstat %s", bootfile);
md_bootstrap(int devfd, char *dev, char *bootfile)