diff options
author | hpa <hpa> | 1998-02-14 00:26:18 +0000 |
---|---|---|
committer | hpa <hpa> | 1998-02-14 00:26:18 +0000 |
commit | e67aea1c0ccd3cc08a9110386d9b75b281941907 (patch) | |
tree | 96fc657ed4f184606ac523ac22577d442585488b /syslinux.c | |
parent | a646738f7167df107020e84c482d65e17118f0be (diff) | |
download | syslinux-e67aea1c0ccd3cc08a9110386d9b75b281941907.tar.gz |
FAT16 support!!!
Diffstat (limited to 'syslinux.c')
-rw-r--r-- | syslinux.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -177,6 +177,12 @@ int main(int argc, char *argv[]) device); exit(1); } + } else if ( !memcmp(sectbuf+bsFileSysType, "FAT16 ", 8) ) { + if ( clusters <= 4086 ) { + fprintf(stderr, "%s: ERROR: FAT16 but claims less than 4086 clusters\n", + device); + exit(1); + } } else { fprintf(stderr, "%s: filesystem type \"%8.8s\" not supported\n", device, sectbuf+bsFileSysType); |