in reply to locate path to a file from inode number
First of all, thank all of you for your help. It is truly appreciated.
Concerning the nature of an inode, I am aware of the issues with links (both hard and symbolic), but in this circumstance I can guarantee that will never arise.
What I am trying to do is track the location of a file(s) through directories on a filesystem. Now this is not all that hard to do. There are many methods a couple of which being File::Find or a combination of opendir/readdir. The problem is that this has to be done quite regulary, only a few seconds apart in some circumstances. Both of these methods would produce heavy I/O. I am trying to find out if anyone has an idea on tracking a file that is not a heavy impact on the FS.
I hope that cleared it up a little, I apologize if it was a little vague in the original post.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: locate path to a file from inode number
by gnu@perl (Pilgrim) on Nov 08, 2002 at 18:13 UTC | |
|
Re: Re: locate path to a file from inode number
by iburrell (Chaplain) on Nov 08, 2002 at 21:13 UTC |