Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It is possible to find all the paths to a file with a given inode, in general, using find's -inum option. But this has awful performance for typical filesystems. What options are there to improve performance?

Are there filesystems with special support for this task? Are there updatedb-like utilities that index inodes?

The more general, the better the answer.

Postscript For more on requirements, see

share|improve this question
up vote 3 down vote accepted

hey there is a similar question on SO, maybe that will help.

share|improve this answer
debugfs -R "ncheck your_inode_num" /dev/sda
share|improve this answer
Do you know how debugfs builds up its map of inodes to paths? (From what little I know about ext2fs, the inode table only tells you about the blocks used by and permissions/types of the inodes.) Is it possible to use debugfs with a mounted partition? – Charles Stewart Jun 24 '13 at 10:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .