OSDN Git Service

vvfat: need to use first_sectors_number to distinguish fdd/hdd
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Oct 2011 07:12:05 +0000 (09:12 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 4 Nov 2011 15:23:25 +0000 (16:23 +0100)
commitaad37c06dda2cd6ab950648435b24ef7776574b0
treea13c888943d800430aaad48f78a1be326ba819f9
parente654bfe4c1211754d52b324a505ac46c2bfe2069
vvfat: need to use first_sectors_number to distinguish fdd/hdd

This is consistent with what "real" floppies have, so file(1)
now actually recognizes the VVFAT image as a 1.44 MB floppy.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vvfat.c