Searched hist:263845 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/usr.bin/mkimg/
H A Dvtoc8.cdiff 263845 Thu Mar 27 20:53:07 MDT 2014 marcel Give vtoc8 a change to work: when setting the physical block size to 4K,
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...

Completed in 164 milliseconds