View Single Post
  #3   (View Single Post)  
Old 31st August 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

It simply isn't practical to reverse the name of a the inode without traversing through the entire filesystem hierarchy.. inode numbers can obviously conflict.

The inode does NOT contain the filename, as there can be many references, or hard "links" to a file.

A lot of people don't realize that directory inodes are special, this where name mappings for inodes are stored.

Once you have the inode, you can use find -inum or ls -i to locate it.

Last edited by BSDfan666; 31st August 2011 at 03:56 AM.
Reply With Quote