diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-11-04 17:21:53 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-11-04 17:32:23 +0100 |
commit | 273e4e03b3413fd489601cd9d8ba407ccb3b4130 (patch) | |
tree | f987acb9281840785c5ca3e18d2b32078bd6baa2 /libcacard | |
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>
Diffstat (limited to 'libcacard')
0 files changed, 0 insertions, 0 deletions