summaryrefslogtreecommitdiff
path: root/syslinux.c
diff options
context:
space:
mode:
authorhpa <hpa>1998-04-15 03:07:22 +0000
committerhpa <hpa>1998-04-15 03:07:22 +0000
commit3875d86266cbeb5cc1764b5d31b0ce6908612b30 (patch)
treef579bacc8dbc8a6acd88ffda2766aba135fdbae8 /syslinux.c
parent76fd2d8d445379561bc4c19f420d5d4abaa34bca (diff)
downloadsyslinux-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.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/syslinux.c b/syslinux.c
index 204057de..1097afea 100644
--- a/syslinux.c
+++ b/syslinux.c
@@ -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 ) {