Re: OK to have many files in one folder?

From: Date: Fri, 15 Jun 2007 20:08:56 +0000
Subject: Re: OK to have many files in one folder?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-257112@lists.php.net to get a copy of this message
On 6/15/07, Jay Blanchard <jblanchard@pocket.com> wrote:
[snip] I can easily break it up into 100 subdirectories, 2500 files in each, would that be good insurance against problems? [/snip] As someone mentioned, directories are just a human convenience. Each file will have an inode and is identified by an inode number in the file system where it resides. Inodes store information on files such as user and group ownership, access mode (read, write, execute permissions) and type of file. There is a fixed number of inodes, which indicates the maximum number of files each filesystem can hold. Hence, beware the inode. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Perfect, Jay. That's something I forgot to mention. Also, keep in mind that, while there are file byte size limits (4GB, 8GB, etc.), directories are NOT limited in byte size. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107

« previous php.general (#257112) next »