From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fee84,a97c38d42145ae92,start X-Google-Attributes: gidfee84,public From: Bob Harris Subject: Re: Number of file in a directory. Is there a limit ? Date: 1999/08/25 Message-ID: <250819991016365821%harris@zk3.dec.com>#1/1 X-Deja-AN: 517028247 Content-Transfer-Encoding: 8bit References: <7q0lgc$m5j$1@jaydee.iway.fr> To: "Ga�l Trinquart" Posted-And-Mailed: yes Content-Type: text/plain; charset=ISO-8859-1 Organization: Digital Equipment Corporation, Palo Alto, CA, USA Mime-Version: 1.0 User-Agent: YA-NewsWatcher/4.2.3 Newsgroups: comp.unix.osf.osf1 [[ This message was both posted and mailed: see the "To," "Cc," and "Newsgroups" headers for details. ]] In article <7q0lgc$m5j$1@jaydee.iway.fr>, Ga�l Trinquart wrote: >Number of file in a directory. Is there a limit ? The limits for the Compaq Tru64 UNIX are specified in the Release Notes. You can find a copy at the following URL (I just picked on v4.0d, but other versions are also available at that site): To be specific, there is no limit on the number of regular files. There is a limit on the number of subdirectories in a single directory. Currently that is 32K. This is because each subdirectory has a hard link to its parent directory (..) and in the current releases the hard link limit was 32K. This subdirectory limit is changing in the next release to 65K which is the maximum that can fit in the 16 bit st_nlink field of the stat structure.