in reply to Re: How to detect if file is in use?
in thread How to detect if file is in use?
I guessed when I wrote Linux::Fuser and looked in /proc/*/fd and found all the file descriptors that had the same inode as the file I was interested in. Having just looked the source of fuser it appears it was a good guess ;-)
/J\
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to detect if file is in use?
by thor (Priest) on Mar 17, 2005 at 12:45 UTC | |
by gellyfish (Monsignor) on Mar 17, 2005 at 13:13 UTC | |
by betterworld (Curate) on Mar 17, 2005 at 12:59 UTC | |
by thor (Priest) on Mar 17, 2005 at 16:18 UTC | |
by gellyfish (Monsignor) on Mar 17, 2005 at 16:56 UTC | |
by betterworld (Curate) on Mar 18, 2005 at 02:02 UTC | |
by Tanktalus (Canon) on Mar 18, 2005 at 02:17 UTC | |
by gellyfish (Monsignor) on Mar 18, 2005 at 09:40 UTC |