Searched refs:bootarea (Results 1 - 2 of 2) sorted by relevance
/freebsd-12-stable/sbin/newfs/ |
H A D | newfs.c | 118 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-12-stable/sbin/bsdlabel/ |
H A D | bsdlabel.c | 108 static u_char bootarea[BBSIZE]; variable 349 if (read(fd, bootarea, st.st_size) != st.st_size) 403 bsd_disklabel_le_enc(bootarea + labeloffset + labelsoffset * lab.d_secsize, 437 bootarea + labeloffset + labelsoffset * lab.d_secsize); 450 gctl_ro_param(grq, "bootcode", BBSIZE, bootarea); 460 if (write(fd, bootarea, bbsize) != bbsize) { 511 nbytes = read(f, bootarea, BBSIZE); 518 bootarea + (labeloffset + labelsoffset * secsize),
|
Completed in 415 milliseconds