finding filenames from inodes

Paul T. Keener keener at upenn5.hep.upenn.edu
Fri May 12 01:44:31 AEST 1989


In article <10993 at netnews.upenn.edu> keener at upenn5.hep.upenn.edu (Paul T. Keener) writes:
>Is there anyway to find the filename of a file given the inode that it is on
>other than to search through the filenames for it?  I am running Sun OS 4.0
>Thanx.
>

I guess a should have mentioned that I want to do this from inside a program
and must be relatively fast.  ie find / -inode foo -print is NOT what I am
am looking for.

	-paul


keener at upenn5.hep.upenn.edu / Anyone who cannot cope with mathematics is not 
keener at penndrls.upenn.edu  / fully human.  At best he is a tolerable subhuman
keener at penndrls.bitnet    / who has learned to wear shoes, bathe and not make
                         / messes in the house.    -L.L.



More information about the Comp.unix.questions mailing list