Re: [Qemu-devel] [PATCH 6/6 v2] vvfat: reorganize computation of disk geometry

2011-11-04 Thread Kevin Wolf
Am 04.11.2011 17:21, schrieb Paolo Bonzini: > First determine FAT12/16/32, then compute geometry from that for both > FDD and HDD. For 1.44MB floppies, and 2.88MB floppies using FAT16, > change to 1 sector/cluster. The default remains 2.88MB with FAT12 > and 2 sectors/cluster. Both DOS and mkdos

[Qemu-devel] [PATCH 6/6 v2] vvfat: reorganize computation of disk geometry

2011-11-04 Thread Paolo Bonzini
First determine FAT12/16/32, then compute geometry from that for both FDD and HDD. For 1.44MB floppies, and 2.88MB floppies using FAT16, change to 1 sector/cluster. The default remains 2.88MB with FAT12 and 2 sectors/cluster. Both DOS and mkdosfs by default format a 2.88MB floppy as FAT12. Sign