freebsd kernel with SKQ
Go to file
marcel 452aa44886 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...
2014-03-27 22:48:48 +00:00
apm.c Allow schemes to specify a maximum sector size. The minimum is fixed 2014-03-25 02:32:04 +00:00
bsd.c Allow schemes to specify a maximum sector size. The minimum is fixed 2014-03-25 02:32:04 +00:00
ebr.c Remove trksz, which was hardcoded to 1, and replace it by secs, which 2014-03-27 22:39:22 +00:00
gpt.c Allow schemes to specify a maximum sector size. The minimum is fixed 2014-03-25 02:32:04 +00:00
Makefile Use linker sets to provide build-time selection of the schemes 2014-03-20 00:38:17 +00:00
mbr.c Fix writing the start and size fields. 2014-03-27 21:32:02 +00:00
mkimg.8 Safe WIP: mkimg is a user-space utility for creating disk images. 2013-08-04 02:37:05 +00:00
mkimg.c 1. When calculating block addresses, round to the physical block 2014-03-27 22:45:05 +00:00
mkimg.h 1. When calculating block addresses, round to the physical block 2014-03-27 22:45:05 +00:00
pc98.c Allow schemes to specify a maximum sector size. The minimum is fixed 2014-03-25 02:32:04 +00:00
scheme.c 1. When calculating block addresses, round to the physical block 2014-03-27 22:45:05 +00:00
scheme.h 1. When calculating block addresses, round to the physical block 2014-03-27 22:45:05 +00:00
vtoc8.c Give vtoc8 a change to work: when setting the physical block size to 4K, 2014-03-27 22:48:48 +00:00