If you are dealing exclusively with the ext2 / 3 file system, you can use debugfs to process your inode to search for files, which can be significantly faster than using find for large file systems with many files.
debugfs -R "ncheck $inode" /dev/device 2> /dev/null | tail -1 | awk '{print $2}'
Finding is still really your best bet, although I donโt know anything about it, itโs an illogical file system.
source share