Searched refs:bootarea (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/sbin/newfs/
H A Dnewfs.c116 static u_char bootarea[BBSIZE]; variable
434 if (read(disk.d_fd, bootarea, BBSIZE) != BBSIZE)
435 err(4, "cannot read bootarea");
437 bootarea + (0 /* labeloffset */ +
/freebsd-11-stable/sbin/bsdlabel/
H A Dbsdlabel.c106 static u_char bootarea[BBSIZE]; variable
348 if (read(fd, bootarea, st.st_size) != st.st_size)
402 bsd_disklabel_le_enc(bootarea + labeloffset + labelsoffset * lab.d_secsize,
436 bootarea + labeloffset + labelsoffset * lab.d_secsize);
449 gctl_ro_param(grq, "bootcode", BBSIZE, bootarea);
459 if (write(fd, bootarea, bbsize) != bbsize) {
510 nbytes = read(f, bootarea, BBSIZE);
517 bootarea + (labeloffset + labelsoffset * secsize),

Completed in 127 milliseconds