diff options
| author | hpa <hpa> | 1998-04-15 03:07:22 +0000 |
|---|---|---|
| committer | hpa <hpa> | 1998-04-15 03:07:22 +0000 |
| commit | 3875d86266cbeb5cc1764b5d31b0ce6908612b30 (patch) | |
| tree | f579bacc8dbc8a6acd88ffda2766aba135fdbae8 /syslinux.c | |
| parent | 76fd2d8d445379561bc4c19f420d5d4abaa34bca (diff) | |
| download | syslinux-3875d86266cbeb5cc1764b5d31b0ce6908612b30.tar.gz | |
Fix old kernel, OS/2, and mem= bugs. Ready for 1.36 release.syslinux-1.36
Diffstat (limited to 'syslinux.c')
| -rw-r--r-- | syslinux.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -208,6 +208,8 @@ int main(int argc, char *argv[]) device); exit(1); } + } else if ( !memcmp(sectbuf+bsFileSysType, "FAT ", 8) ) { + /* OS/2 sets up the filesystem as just `FAT'. */ } else { fprintf(stderr, "%s: filesystem type \"%8.8s\" not supported\n", device, sectbuf+bsFileSysType); @@ -225,11 +227,6 @@ int main(int argc, char *argv[]) sectors = get_16(sectbuf+bsSectors); sectors = sectors ? sectors : get_32(sectbuf+bsHugeSectors); clusters = sectors / sectbuf[bsSecPerClust]; - - if ( clusters > 4086 ) { - fprintf(stderr, "%s: Only FAT12 filesystems supported\n", device); - exit(1); - } } if ( get_16(sectbuf+bsBytesPerSec) != 512 ) { |
