Xref: utzoo comp.unix.wizards:15496 comp.unix.questions:12782 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!haven!grebyn!macom1!rikki From: rikki@macom1.UUCP (R. L. Welsh) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Re: unix question: files per directory Message-ID: <4822@macom1.UUCP> Date: 11 Apr 89 13:15:00 GMT References: <24110@beta.lanl.gov> Distribution: na Organization: CENTEL Federal Systems, Reston, VA. 22091-1506 Lines: 18 From article <24110@beta.lanl.gov>, by dxxb@beta.lanl.gov (David W. Barts): > > How many files can there be in a single UNIX directory ... You will undoubtedly run out of inodes before you reach any theoretical limit. Every new file you create will use up one inode. If you are seriously contemplating having a huge number of files (be they in one directory or many), you may have to remake a filesystem to have enough inodes -- see mkfs(1M), in particular the argument blocks:inodes. The optional ":inodes" part is often left off and the defaults taken. My manual (old ATT Sys V) says that the maximum number of inodes is 65500. Also (on Sys V) do "df -t" to check how many inodes your filesystem currently accomodates. -- - Rikki (UUCP: grebyn!macom1!rikki)