I am currently resolving a list of symbolic links in C (POSIX environment). Some of which point to an NFS. Some of the NFS have been taken offline temporarily. Is there a way to avoid or minimize timeouts when resolving an offline NFS?
Asked
Active
Viewed 133 times
1 Answers
0
The only way I can think of to avoid those waits would be to test in advance whether that NFS directory is available, and if not to unmount it so it appears as a local empty directory (which would fail quickly).
Or you could use a protocol other than NFS, which would let you set timeouts more explicitly.
-
What does the National Science Foundation have to do with the Networked File System? – twalberg Mar 03 '14 at 21:47
-
"Dyslexics of the world, UNTIE!" ... fixed. – keshlam Mar 03 '14 at 22:08