there is a limit of # of root entries. But the number of files per directory
is much higher. Running RH6.2 I tried this test: I have an SGI xfs
partition that does billion of entries per directory, like reiser, but for
an ext2 partition this perl script is for testing
for ($index = 1; $index <= 2097153; $index++) {
open (OUT, "> file_$index.txt");
print OUT "Test\n";
close (OUT);
}
after letting it run 4 hours :) it seems to stop at 811626 where I run out
of disk space :)
oh well
-----Original Message-----
From: Christian Reiniger [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 9:52 AM
To: Maxim Maletsky; 'Bart Veldhuizen'; [EMAIL PROTECTED]
Subject: Re: [PHP] stripping white space?
On Tuesday 10 July 2001 11:26, Maxim Maletsky wrote:
> But you're right, on UNIX systems, if I am not wrong, you cannot hold
> more then 1024 (?) files in a single directory.
AFAIK there's no limit (and certainly not 1024 files), but with most
filesystems accesses on large directories are painfully slow. FSs such as
ReiserFS however don't slow down noticeably on large directories...
--
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)
I sat laughing snidely into my notebook until they showed me a PC running
Linux. And oh! It was as though the heavens opened and God handed down a
client-side OS so beautiful, so graceful, and so elegant that a million
Microsoft developers couldn't have invented it even if they had a hundred
years and a thousand crates of Jolt cola.
- LAN Times
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]