memdisk: don't key FAT vs MBR on the type of disk
authorH. Peter Anvin <hpa@zytor.com>
Tue, 17 Mar 2009 01:50:36 +0000 (18:50 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 17 Mar 2009 01:54:47 +0000 (18:54 -0700)
commit42f15f93323394f502645264b4809b031a9b4442
tree840015dec03f4fcc69e151b23c45490960f21d68
parent35136c9e0b02a90e6d5d5d8d5c16be4492910d25
memdisk: don't key FAT vs MBR on the type of disk

We can't rely on the disk type to say if this is FAT vs MBR, since we
haven't determined that yet.  Thus, move the FAT test up before the
MBR test; both are heuristic, but the FAT test has much less
probability of false positives, and can be further tightened if
needed.
memdisk/setup.c