I need to be able to look up a file system with the inode number 214743 and, get its absolute reference in a single line...
I have tried..
"find / -inum 214743 -print"
I need to be able to look up a file system with the inode number 214743 and, get its absolute reference in a single line...
I have tried..
"find / -inum 214743 -print"
Does this help?
From: Unix/Linux "find" Command Tutorial
A common request is a way to find all the hard links to some file. Using ls -li file will tell you how many hard links the file has, and the inode number. You can locate all pathnames to this file with:
find mount-point -xdev -inum inode-number
Since hard links are restricted to a single filesystem, you need to search that whole filesystem so you start the search at the filesystem's mount point. (This is likely to be either /home or / for files in your home directory.) The -xdev options tells find to not search any other filesystems.
(While most Unix and all Linux systems have a find command that supports the -inum criteria, this isn't POSIX standard. Older Unix systems provided the ncheck utility instead that could be used for this.)