Re: Recursion level of symlinks limitted to five?

Andi Kleen (ak@muc.de)
08 Mar 1999 19:21:30 +0100


schattev@imb-jena.de (Ruben Schattevoy) writes:
>
> So, how many symlinks can be nested? I acctually expected
> a big number here, at least a number much greater than 5...

5

The reason for the small number is that the routine that parses the
path name in the kernel does actually recurse on symlinks. Kernel
stack space is very limited (~6K - stack space for interrupt handlers
on 2.2). To avoid overflowing the kernel stack the maximum nesting
has to be limited. AFAIK there are no plans to change it.

-Andi

-- 
This is like TV. I don't like TV.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/