Searched refs:bootarea (Results 1 – 2 of 2) sorted by relevance
| /freebsd-14.2/sbin/newfs/ |
| H A D | newfs.c | 118 static u_char bootarea[BBSIZE]; variable 442 if (read(disk.d_fd, bootarea, BBSIZE) != BBSIZE) in getdisklabel() 445 bootarea + (0 /* labeloffset */ + in getdisklabel()
|
| /freebsd-14.2/sbin/bsdlabel/ |
| H A D | bsdlabel.c | 106 static u_char bootarea[BBSIZE]; variable 351 if (read(fd, bootarea, st.st_size) != st.st_size) in readboot() 403 bsd_disklabel_le_enc(bootarea + labeloffset + labelsoffset * lab.d_secsize, in writelabel() 429 if (write(fd, bootarea, bbsize) != bbsize) { in writelabel() 480 nbytes = read(f, bootarea, BBSIZE); in readlabel() 487 bootarea + (labeloffset + labelsoffset * secsize), in readlabel()
|