Anyone know the maximum number of files you can have in a single directory under syslinux ? ]I've made my own custom CD with 467 file in the root directory.
Are you placing UBCD on a USB stick (syslinux <==> custom CD contradiction)? There is a FAT16 limit of 512 root directory entries (files and folders in the root directory).http://support.microsoft.com/kb/120138
This problem occurs when all 512 root directory entries have been used. This problem can also occur with fewer than 512 files and folders in the root directory because Windows 95 uses additional directory entries to store long file names.
To ensure compatibility with MS-DOS, Windows 95 uses a standard file allocation table (FAT) file system. The root directory for a FAT drive has a fixed size and is stored in a fixed location on the disk. All hard disk drives use 32 sectors of 512 bytes each to store the root directory. This limits the root directory on a hard disk drive to 16K: 32 sectors x 512 bytes per sector = 16,384 bytes, or 16K.
MS-DOS uses one directory entry for each file and folder, but Windows 95 uses additional directory entries to store long file names and folder names, and the associated 8.3 aliases. This means that you can run out of directory entries with fewer than 512 files or folders in the root directory.
Folders do not have a fixed size, so the only limitation to the number of files or folders you can store in any folder with Windows 95 is free disk space. For this reason, it is best to store your files (programs and data) in a folder off the root directory.
The problem i.m having is the disk won't boot, It just hangs with the first line of text? Remove the files and alls well again.
Try to remove only a few files (10 or so) and try again and see if its helps.
You also can place the files in a subdirectory (can contain more than 512 files/folders per subdirectory).
BTW, why do you want so much files in the root directory of your USB thumb drive?
Also can this file limit be increased ?
You can format your USB thumb drive with FAT32 instead of with FAT16. You also can move a part of the files to a subdirectory.
Offtopic: You also can integrate the last freedos image (dosubcd.igz) on your custom UBCD.