home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / msdos / programm / 10770 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  2.4 KB

  1. Xref: sparky comp.os.msdos.programmer:10770 alt.msdos.programmer:2789
  2. Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer
  3. Path: sparky!uunet!mcsun!sunic!aun.uninett.no!nuug!nntp.nta.no!hal.nta.no!hlj
  4. From: hlj@hal.nta.no (Harald Ljoen FBA)
  5. Subject: Re: Number of subdirectories limited ?
  6. Message-ID: <1992Nov19.162149.4799@nntp.nta.no>
  7. Sender: news@nntp.nta.no
  8. Nntp-Posting-Host: rimne.nta.no
  9. Reply-To: harald.ljoeen@nta.no
  10. Organization: Norwegian Telecom Research
  11. References: <1992Nov17.195401.772@murdoch.acc.Virginia.EDU> <9211182043@fcshome.UUCP>
  12. Date: Thu, 19 Nov 92 16:21:49 GMT
  13. Lines: 41
  14.  
  15. In article <9211182043@fcshome.UUCP>, fredex@fcshome.UUCP (fred smith) writes:
  16. >Jason Adams Vanvalkenburgh (jav2d@faraday.clas.Virginia.EDU) wrote:
  17. >: ernst@opal.cs.tu-berlin.de  writes:
  18. >: > Hi,
  19. >: > 
  20. >: > I know there is a limitation on the number of subdirectories in the
  21. >: > root directory, but is there any limitation in directories other
  22. >: > than "\" ?
  23. >
  24. ><stuff deleted)
  25. >
  26. >: 
  27. >: The FAT system only allows a maximum number of file entries.  I'm not
  28. >: sure about numbers, but I remember reading that a 360K floppy couldn`t
  29. >: have any more than 112 file entries.  Therefore 112 0-byte files would
  30. >: actually fill up the disk, because the FAT tables were full.  Larger
  31. >: capacity disks have proportionally more space allocated for the FAT
  32. >: tables, etc.  I had never heard of limitations for the root directory,
  33. >: though.
  34. >: 
  35. >
  36. >The DOS file system has a limit on the number of files (items) IN THE
  37. >ROOT DIRECTORY!!!!!!!!! The number 112 given above is how many things
  38. >can exist in the ROOT directory of a 360k floppy. Once you start
  39. >putting things into subdirectories there is no limit other than 
  40. >the size of the disk.
  41.  
  42. The root directory has fixed size, so there is a definite limit on the
  43. number of entries (files, subdirectories, volume label,...) in the root of
  44. a given disk. This limit is determined at (DOS) format time.
  45.  
  46. There is no *definite* limit to the number of entries in subdirectories.
  47. However, as the FAT has fixed size, there *is* a definite limit to the
  48. *total* number of files/subdirectories that can reside on the disk. Each
  49. file/subdirectory requires *at least* one disk block, and therefore occupies
  50. *at least* one entry in the FAT. In 16 bit FATs this limit is less than
  51. 2^16 minus <some small number, 1, 2, 3?>, and is also determined at (DOS)
  52. format time.
  53.  
  54. -- 
  55. ** Also sprach harald.ljoeen@nta.no **
  56.