Home
last modified time | relevance | path

Searched refs:bootsize (Results 1 – 1 of 1) sorted by relevance

/mirbsd/src/sbin/disklabel/
Ddisklabel.c92 int bootsize; /* size of remaining boot program */ variable
518 if (!donothing && bootbuf && write(f, bootbuf, bootsize) != bootsize) { in writelabel()
870 bootsize = (int)sb.st_size - dp->d_bbsize; in makebootarea()
871 if (bootsize > 0) { in makebootarea()
873 bootsize = (bootsize + dp->d_secsize-1) & ~(dp->d_secsize-1); in makebootarea()
874 bootbuf = (char *)malloc((size_t)bootsize); in makebootarea()
877 if (read(b, bootbuf, bootsize) < 0) { in makebootarea()
1718 boffset = bootsize / lp->d_secsize; in setbootflag()