I would like to get the number of maximum possible symlink level in the system. I found that it is hardcoded in the kernel to be 40. But I would like to get this number dynamically, in case someone changes this in the source code and recompiles the kernel. Is this even possible? And if not, how bad idea it is to assume this number to be always 40?
Thanks.