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

/freebsd-13-stable/sbin/newfs/
H A Dnewfs.c118 static u_char bootarea[BBSIZE]; variable
437 if (read(disk.d_fd, bootarea, BBSIZE) != BBSIZE)
438 err(4, "cannot read bootarea");
440 bootarea + (0 /* labeloffset */ +
/freebsd-13-stable/sbin/bsdlabel/
H A Dbsdlabel.c108 static u_char bootarea[BBSIZE]; variable
349 if (read(fd, bootarea, st.st_size) != st.st_size)
401 bsd_disklabel_le_enc(bootarea + labeloffset + labelsoffset * lab.d_secsize,
427 if (write(fd, bootarea, bbsize) != bbsize) {
478 nbytes = read(f, bootarea, BBSIZE);
485 bootarea + (labeloffset + labelsoffset * secsize),

Completed in 56 milliseconds