commit | 273e4e03b3413fd489601cd9d8ba407ccb3b4130 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Fri Nov 04 17:21:53 2011 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Nov 04 17:32:23 2011 +0100 |
tree | f987acb9281840785c5ca3e18d2b32078bd6baa2 | |
parent | d71cff42e4cd614986e2d0b8ded7aa3acaf28d92 [diff] |
vvfat: reorganize computation of disk geometry 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. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>