Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!aplcen!haven!umd5!matthews From: matthews@umd5.umd.edu (Mike Matthews) Newsgroups: comp.sys.atari.st Subject: Re: Directory Limits??!! Message-ID: <6184@umd5.umd.edu> Date: 28 Feb 90 20:30:43 GMT References: <276.25E65B7C@uscacm.UUCP> Reply-To: matthews@umd5.umd.edu (Mike Matthews) Organization: University of Maryland, College Park Lines: 20 In article <276.25E65B7C@uscacm.UUCP> Ron.Hollins@uscacm.UUCP (Ron Hollins) writes: > > Question: Is there a limit to the total number of files that a >double-sided floppy disk can contain. (I'm NOT refering to the 40 >folder limit). I suspect that the 'FAT' must have a ceiling to it. >If someone does know this 'magic' number , might you also suggest a >technique to trap for this disk 'error'. I'm using GFA 3.07 > Thanks, > Ron, You can have 112 files on the root directory of a floppy disk. Putting files in folders makes the number limited to free space. I'm not sure of the hard drive limit; older Supra software has a limit of 256, although I personally have seen 500 files on the root of a hard drive. The limiting factor is not the FAT; it's the directory space on the disk. I believe fopen() (or whatever GFA's equivalent is) will return some sort of error code (negative value, possibly -49 or -36) in such a case. Mike