Hello!

On Wed, Jan 30, 2002 at 11:14:20AM +0100, Heinz-Josef Claes wrote:

> I'm running the following perl script (x.pl) on linux (same result for
> 3.5 and 3.6):
> -rw-r--r--  64535 root     root            0 Jan 30 11:14 a

> As you can see, it's not 65535 links, it's 643535. Same result for
> reiserfs 3.5 and reiserfs 3.6.

Yes, you are right. It is because of this definition:
#define REISERFS_LINK_MAX (MAX_US_INT - 1000)

In fact 1000 seems to be a randomly chosen number by whoever wrote the code.
Write 1 there and you'd have 65534 links.

Bye,
    Oleg

Reply via email to