From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,caadcb121e776239 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-07-15 06:58:58 PST Newsgroups: comp.sys.dec Path: gmd.de!xlink.net!scsing.switch.ch!news.univie.ac.at!paladin.american.edu!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!swrinde!menudo.uh.edu!lobster!uhura1!synercom!mattair From: mattair@sun44.synercom.hounix.org (Charles Mattair) Subject: Re: Max number of files in a Directory? Message-ID: <1993Jul14.165848.25838@sun44.synercom.hounix.org> Organization: Synercom Technology, Inc., Houston, TX References: <1993Jul14.113624.8344@e2big.mko.dec.com> Distribution: usa Date: Wed, 14 Jul 1993 16:58:48 GMT 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. > 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 In a mature society, "civil servant" is semantically equivalent to "civil master." - Robert Heinlein, _The Notebooks of Lazarus Long_