Hi, I am unable to use S_ISREG, basically I guess it is working but stat.st_mode is not set in a correct way. I'm running a 2.4 kernel (this is not my choice, but platform wise I am not able to upgrade). If anyone has a hint how to solve it, I am all ears. Stefan