From: mattair@sun44.synercom.hounix.org (Charles Mattair)
Subject: Re: Max number of files in a Directory?
Date: Wed, 14 Jul 1993 16:58:48 GMT [thread overview]
Message-ID: <1993Jul14.165848.25838@sun44.synercom.hounix.org> (raw)
In-Reply-To: 1993Jul14.113624.8344@e2big.mko.dec.com
In article <1993Jul14.113624.8344@e2big.mko.dec.com> dunham@star.enet.dec.com writes:
>
>|>
>|>What is the maximum number of files (not versions) allowed under VMS in a
>|>directory on a Files-11 disk?
>|>
>
>Technically there is no limit, although other volume constraits may prevent
>you from adding another entry to an exisiting directory.
>
<this is being written based on experiences several years ago - if I'm
wrong, no flames, just corrections>
However, there is a practical limit - how long do you want to wait on
directory operations. As the directory gets very large, certain operations,
most notoriously file deletions can take an exceeeeeeeedingly long time.
As an experiment, we tried to see how many 9.3 files you could stuff in
a directory (at the time, there was a 1024 block limit to a directory)
so I created a stupid shell^H^H^H^H^H DCL proc to create 0 length files
until VMS blew it out. I don't remember the number created but it was
a respectable number.
The rub came when deleting this mess. DEL/NOLOG *.*.*.... Delete would
remove each file from the directory in sequence and empty the first
directory block. It (RMS/XQP ?) would recognize the empty block and
copy the remaining n-1 blocks down and truncate the directory. This
went on for - I think - 11 hours.
Our recommendation to our customers was keep the size down.
--
Charles Mattair (until 16 July - work) mattair@synercom.hounix.org
<standard.disclaimer>
In a mature society, "civil servant" is semantically equivalent to
"civil master." - Robert Heinlein, _The Notebooks of Lazarus Long_
next prev parent reply other threads:[~1993-07-14 16:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-07-13 15:32 Max number of files in a Directory? Steve Johns
1993-07-14 11:36 ` James F. Dunham
1993-07-14 16:58 ` Charles Mattair [this message]
1993-07-14 19:23 ` Gary Rice - x6322
1993-07-14 22:57 ` oberman
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox