Re: Maximum number of subdirectories

2006-05-17 Thread Vladimir V. Saveliev
Hello

On Tue, 2006-05-16 at 23:25 +0800, Sinang, Danny wrote:
 Hello,
  
 Am a newbie to ReisferFS / Reiser4. 
  
 I've been searching the archives and Google for a definite answer as
 to what the maximum number of subdirectories under a directory is. A
 Dec, 2003 article ( http://everything2.com/index.pl?node_id=510028 )
 says it's 64,536. Is this still true ?
  
no, that was for old format of reiserfs.

 If not, then what is the current limit for both ReiserFS and Reiser4 ?

current limit for both is 2^32.

  
 Regards,
 Danny
  
  



RE: Maximum number of subdirectories

2006-05-17 Thread Vladimir V. Saveliev
Hello

On Wed, 2006-05-17 at 17:07 +0800, Sinang, Danny wrote:
 Hi Vladimir,
 
 By current limit, are you pertaining to ReiserFS (v3.x) or Reiser4 ?
 

for both.


 Regards,
 Danny 
 
 -Original Message-
 From: Vladimir V. Saveliev [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, May 17, 2006 4:46 PM
 To: Sinang, Danny
 Cc: reiserfs-list@namesys.com
 Subject: Re: Maximum number of subdirectories
 
 Hello
 
 On Tue, 2006-05-16 at 23:25 +0800, Sinang, Danny wrote:
  Hello,
   
  Am a newbie to ReisferFS / Reiser4. 
   
  I've been searching the archives and Google for a definite answer as 
  to what the maximum number of subdirectories under a directory is. A 
  Dec, 2003 article ( http://everything2.com/index.pl?node_id=510028 ) 
  says it's 64,536. Is this still true ?
   
 no, that was for old format of reiserfs.
 
  If not, then what is the current limit for both ReiserFS and Reiser4 ?
 
 current limit for both is 2^32.
 
   
  Regards,
  Danny
   
   
 
 



Re: Maximum number of subdirectories

2006-05-17 Thread Vladimir V. Saveliev
Hello

On Wed, 2006-05-17 at 02:09 -0700, Hans Reiser wrote:
 Vladimir V. Saveliev wrote:
 
 Hello
 
 On Tue, 2006-05-16 at 23:25 +0800, Sinang, Danny wrote:
   
 
 Hello,
  
 Am a newbie to ReisferFS / Reiser4. 
  
 I've been searching the archives and Google for a definite answer as
 to what the maximum number of subdirectories under a directory is. A
 Dec, 2003 article ( http://everything2.com/index.pl?node_id=510028 )
 says it's 64,536. Is this still true ?
  
 
 
 no, that was for old format of reiserfs.
 
   
 
 If not, then what is the current limit for both ReiserFS and Reiser4 ?
 
 
 
 current limit for both is 2^32.
   
 
 and that limit is not of our making, but is rather due to layers above us.
 

both in-core inode of linux and reiser4 default disk format store number
of file links in 32 bits. 


   
 
  
 Regards,
 Danny
  
  
 
 
 
 
 
   
 
 
 



Re: Maximum number of subdirectories

2006-05-17 Thread Michael Weissenbacher

hello,
Vladimir V. Saveliev wrote:

Hello

On Wed, 2006-05-17 at 17:07 +0800, Sinang, Danny wrote:

Hi Vladimir,

By current limit, are you pertaining to ReiserFS (v3.x) or Reiser4 ?



for both.
I guess you mean reiserfs 3.6 and reiser4, or does it also apply to 
reiserfs 3.5?


--
/\
|   Michael Weissenbacher [EMAIL PROTECTED]   |
|  http://www.dermichi.com/  |
|   Email users are divided into two classes;|
|   1) Those who have effective spam-blocking|
|   2) Those who wish they did   |
\/



Re: Maximum number of subdirectories

2006-05-17 Thread Vladimir V. Saveliev
Hello

On Wed, 2006-05-17 at 12:32 +0200, Michael Weissenbacher wrote:
 hello,
 Vladimir V. Saveliev wrote:
  Hello
  
  On Wed, 2006-05-17 at 17:07 +0800, Sinang, Danny wrote:
  Hi Vladimir,
 
  By current limit, are you pertaining to ReiserFS (v3.x) or Reiser4 ?
 
  
  for both.
 I guess you mean reiserfs 3.6 and reiser4, or does it also apply to 
 reiserfs 3.5?
 

this also applies to 3.5. But for 3.5 number of directory links does not
get reported correctly: 1 is reported for directories which have more
than 64535 subdirectories.