in reply to Reverse engineering a file handle
This really depends on the operating system, for instance on Linux stat the /proc/self/fd/0 and then search the file system for a file that has the same device and inode numbers, this is really the reverse of how Linux::Fuser does it. However on other operating systems, I really don't have a clue.
/J\
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Reverse engineering a file handle
by ikegami (Patriarch) on Jun 09, 2005 at 19:07 UTC |