[X-Unix] Can you get the path from an inode?

Philip J Robar pjrobar at areyoureallythatstupid.org
Thu Apr 27 21:23:07 PDT 2006


On Apr 27, 2006, at 6:42 PM, Jerry Krinock wrote:

> I have an application which tells me only the inode number of a  
> file it is
> having problems with.  Is there any way to get the path and  
> filename from
> the inode number?

Not short of a brute force solution.

 From user land you could do: find / -inum XXXXX

or do something similar in the programing language of your choice.


Phil



More information about the X-Unix mailing list