Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!tank!eecae!netnews.upenn.edu!upenn5.hep.upenn.edu!keener From: keener@upenn5.hep.upenn.edu (Paul T. Keener) Newsgroups: comp.unix.questions Subject: Re: finding filenames from inodes Message-ID: <11007@netnews.upenn.edu> Date: 11 May 89 15:44:31 GMT References: <815@usl.usl.edu> <4266@ucdavis.ucdavis.edu> <689@mitisft.Convergent.COM> <10993@netnews.upenn.edu> Sender: news@netnews.upenn.edu Reply-To: keener@upenn5.hep.upenn.edu (Paul T. Keener) Organization: University of Pennsylvania Lines: 17 In article <10993@netnews.upenn.edu> keener@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@upenn5.hep.upenn.edu / Anyone who cannot cope with mathematics is not keener@penndrls.upenn.edu / fully human. At best he is a tolerable subhuman keener@penndrls.bitnet / who has learned to wear shoes, bathe and not make / messes in the house. -L.L.