Quote:
Originally Posted by
aluiken
If the process is still running and did not yet close the file descriptor you can recover it directly via the file descriptor in /proc (on linux)
How to do this ? ( out of curiosity )
Did you mean the following steps ?
1) dup the file descriptor ( that is known )
2) use the new file descriptor to iterate through the contents of the file and store it again
Could you please shed more light on this ?