Searched refs:bootarea (Results 1 – 2 of 2) sorted by relevance
/freebsd/sbin/newfs/ |
H A D | newfs.c | 106 static u_char bootarea[BBSIZE]; variable 430 if (read(disk.d_fd, bootarea, BBSIZE) != BBSIZE) in getdisklabel() 433 bootarea + (0 /* labeloffset */ + in getdisklabel()
|
/freebsd/sbin/bsdlabel/ |
H A D | bsdlabel.c | 93 static u_char bootarea[BBSIZE]; variable 338 if (read(fd, bootarea, st.st_size) != st.st_size) in readboot() 390 bsd_disklabel_le_enc(bootarea + labeloffset + labelsoffset * lab.d_secsize, in writelabel() 416 if (write(fd, bootarea, bbsize) != bbsize) { in writelabel() 467 nbytes = read(f, bootarea, BBSIZE); in readlabel() 474 bootarea + (labeloffset + labelsoffset * secsize), in readlabel()
|