freebsd kernel with SKQ
452aa44886
sectors/track to 8 and number or heads to 1, partitions that are block aligned are also cyclinder aligned. With that trick, fix the vtoc8: 1. Set physcyls, ncyls, altcyls, nheads and nsecs appropriately. 2. Truncate the image size to exactly ncyls * nheads * nsecs * secsz. 3. Properly write the cylinder number as the start of the partition. 4. Oh, and actually calculate the checksum of the label... |
||
---|---|---|
apm.c | ||
bsd.c | ||
ebr.c | ||
gpt.c | ||
Makefile | ||
mbr.c | ||
mkimg.8 | ||
mkimg.c | ||
mkimg.h | ||
pc98.c | ||
scheme.c | ||
scheme.h | ||
vtoc8.c |