I wanted to know if I can make a symlink to a file say in a Database.
This is a wild guess, but is it possible to intercept the link-follow say using a C function and then let function return the file say in a stream.
Cygwin does similar intercept for symlink follow, when we require symlinks in windows right, by reading a .lnk and another associate file for the rest of the dat which is supposed to be in a symlink and then do the follow.
My real scenario: I wanted to see if I can get a symlink to follow a file to a HDFS file which I can say pull using its API.
/dev/sr0
which "point" to DVD drive, and return error if no DVD. Now, testing if a file exists using an API shouldn't be that difficult. – Archemar Dec 27 '15 at 09:50