[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PRODOS QUESTION v.2.0.3: how many files?



In article <5i0ugf$l28@lynx.unm.edu>,
stephen e buggie <buggie@pegasus.unm.edu> wrote:
>How many text files can Prodos 2.0.3 handle?

   Do you mean open files from Basic, or just on disk? If in Basic,
you have roughly 35K minus code and variables. Whatever's left can
sorta be used for one 1K file buffer per open file.

>I thought it was a limit of 55 files per directory, but I found some work 
>processing branches with more than 55.....

   51 files in the root dir; subdirs are limited in theory to 65536
files, but you'll fill any ProDOS disk before you hit that
limit. [32MB partition is 65536 total blocks, minus about 20 for
volume bitmap, root dir, boot blocks, and whatever the subdirectory
uses, which is 1 block every 13 files.  The smallest file size is one
block, if the file takes <512 bytes. Do the math if you want the exact
number of files]

   Your directory blocks (the 1 per 13 files in a directory) may be
scattered all over the disk, which may lead to this perception of
slowness.  Some disk optimization may help this.

>Its this an expanded capability of v.2.0.3?

   Always been this way.

Nathan Mates
--
<*> Nathan Mates http://www.visi.com/~nathan/      <*>
# What are the facts? Again and again and again-- what are the _facts_?
# Shun wishful thinking, avoid opinion, care not what the neighbors
# think-- what are the facts, and to how many decimal places?  -R.A. Heinlein