[filedisk] Add MBR check for GRUB4DOS disks
authorShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Tue, 1 Jun 2010 07:09:12 +0000 (03:09 -0400)
committerShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Tue, 1 Jun 2010 07:09:12 +0000 (03:09 -0400)
commit528bc2fd78dc16ab0eb491d16d7c9754cedf2baf
treed8dbb16adfcb6fbd5dcdbb3a0a57639f8a849b20
parent4e975c0c27e20785862311a2cdb26195fe7c4f9d
[filedisk] Add MBR check for GRUB4DOS disks

We lack any good means of finding the correct backing disk for
a boot-time file-backed disk.  Here is a really cheap check
which will test for an MBR where we would expect on on the
backing disk.  This doesn't support CD/DVD, obviously.
src/winvblock/filedisk/grub4dos.c