* regarding inode number
@ 2005-08-02 12:13 raja
2005-08-02 12:29 ` Steve Graegert
2005-08-02 16:42 ` Glynn Clements
0 siblings, 2 replies; 3+ messages in thread
From: raja @ 2005-08-02 12:13 UTC (permalink / raw)
To: linux-c-programming
Hi,
Is there any way to get the file name if i-node number is known?
regards,
raja
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: regarding inode number 2005-08-02 12:13 regarding inode number raja @ 2005-08-02 12:29 ` Steve Graegert 2005-08-02 16:42 ` Glynn Clements 1 sibling, 0 replies; 3+ messages in thread From: Steve Graegert @ 2005-08-02 12:29 UTC (permalink / raw) To: raja; +Cc: linux-c-programming On 8/2/05, raja <vnagaraju@effigent.net> wrote: > Hi, > Is there any way to get the file name if i-node number is known? This has been discussed several times in the past. Please refer to http://www.mail-archive.com/linux-c-programming@vger.kernel.org/msg00196.html for the complete conversation. Regards \Steve ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: regarding inode number 2005-08-02 12:13 regarding inode number raja 2005-08-02 12:29 ` Steve Graegert @ 2005-08-02 16:42 ` Glynn Clements 1 sibling, 0 replies; 3+ messages in thread From: Glynn Clements @ 2005-08-02 16:42 UTC (permalink / raw) To: raja; +Cc: linux-c-programming raja wrote: > Is there any way to get the file name if i-node number is known? Recursively scan the entire filesystem on which the inode resides. Note that you aren't guaranteed to obtain a single filename. If the file has multiple hard links, there will be multiple filenames. If the file has been deleted (which can occur even if it's still open), you won't find any matching filenames. -- Glynn Clements <glynn@gclements.plus.com> ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-08-02 16:42 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-08-02 12:13 regarding inode number raja 2005-08-02 12:29 ` Steve Graegert 2005-08-02 16:42 ` Glynn Clements
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).