makebootfat: Allow creation of smaller partitions
Brought to you by:
amadvance
This supersedes the "make partitions end on a cylinder boundary" patch that I submitted previously. The change is that, if you have a disk that is large enough to require FAT32, but you have only specified a FAT16 boot sector image, then I want makebootfat to partition only a portion of the disk, and format it as FAT16. I have implemented a similar case for FAT12, but I have done no testing whatsoever with FAT12. The magic maximum capacity numbers that I have chosen are likely not perfect, but they work well enough for me.
makebootfat: Allow creation of smaller partitions