Displaying 1 result from an estimated 1 matches for "part_type_fat16".
2007 Apr 05
0
Patch: Add io.c functions, and vfat library
...goto error;
}
/* Get MBR */
if ( syslinux_read_disk(&disk_info, mbr, 0, 1) ) {
error("Cannot read Master Boot Record\n");
goto error;
}
/* Get 1st partition info */
bank1_part_info = PARTITION_ENTRY(mbr, bank1);
if (bank1_part_info->ostype != PART_TYPE_FAT16) {
error("Warning: Bank 1 is of wrong type");
}
/* Get 2nd partition info */
bank2_part_info = PARTITION_ENTRY(mbr, bank2);
if (bank2_part_info->ostype != PART_TYPE_FAT16) {
error("Warning: Bank 2 is of wrong type");
}
rFd.disk_info = &disk...