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.
|