device driver - problem while reading cascaded symlinks
I have a strange problem with a device driver. Let me describe the problem:
There is symlink, L1 and it shows another symlink, L2 and L2 shows a binary file.
When the driver reads L1 it doesn't follow L2 to arrive the binary file.
but if it reads L2, it follows to the binary file.
Namely, it follows a single link but not cascaded links.
Do I have to give a parameter to do that?
Does anyone have an idea?
PS:links are soft link
embedded linux kernel: 2.6.8